at master 661 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "kdl-py"; 10 version = "1.2.0"; 11 pyproject = true; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-Y/P0bGJ33trc5E3PyUZyv25r8zMLkBIuATTCKFfimXM="; 16 }; 17 18 build-system = [ setuptools ]; 19 20 pythonImportsCheck = [ "kdl" ]; 21 22 checkPhase = '' 23 runHook preCheck 24 25 python tests/run.py 26 27 runHook postCheck 28 ''; 29 30 meta = { 31 description = "Parser for the KDL language"; 32 homepage = "https://github.com/tabatkins/kdlpy"; 33 license = lib.licenses.mit; 34 maintainers = with lib.maintainers; [ ]; 35 mainProgram = "kdlreformat"; 36 }; 37}