2025-07-16 11:46:55 +00:00

46 lines
888 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "petl";
version = "1.7.17";
pyproject = true;
src = fetchFromGitHub {
owner = "petl-developers";
repo = "petl";
tag = "v${version}";
hash = "sha256-zYR/9WdaVCmdaCzOFfHirVE4Gg+CVLvWu1RpWXdqLSc=";
};
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"petl"
];
meta = {
homepage = "https://github.com/petl-developers/petl";
changelog = "https://github.com/petl-developers/petl/releases/tag/${src.tag}";
description = "Python package for extracting, transforming and loading tables of data";
license = lib.licenses.mit;
mainProgram = "petl";
maintainers = with lib.maintainers; [
alapshin
];
};
}