python312Packages.kdl-py: init at 1.2.0

This commit is contained in:
natsukium 2024-11-08 00:05:30 +09:00
parent 5c96771a91
commit d76be85c41
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{
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 = with lib.maintainers; [ ];
mainProgram = "kdlreformat";
};
}

View file

@ -6765,6 +6765,8 @@ self: super: with self; {
kde-material-you-colors = callPackage ../development/python-modules/kde-material-you-colors { };
kdl-py = callPackage ../development/python-modules/kdl-py { };
keba-kecontact = callPackage ../development/python-modules/keba-kecontact { };
keep = callPackage ../development/python-modules/keep { };