Files
nixpkgs/pkgs/development/python-modules/kdl-py/default.nix
Wolfgang Walther c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00

38 lines
639 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
pname = "kdl-py";
version = "1.2.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Y/P0bGJ33trc5E3PyUZyv25r8zMLkBIuATTCKFfimXM=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "kdl" ];
checkPhase = ''
runHook preCheck
python tests/run.py
runHook postCheck
'';
meta = {
description = "Parser for the KDL language";
homepage = "https://github.com/tabatkins/kdlpy";
license = lib.licenses.mit;
maintainers = [ ];
mainProgram = "kdlreformat";
};
}