Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 31 lines 683 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 setuptools-scm, 7}: 8 9buildPythonPackage rec { 10 pname = "parameter-expansion-patched"; 11 version = "0.3.1"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-/128ifveWC8zNlYtGWtxB3HpK6p7bVk1ahSwhaC2dAs="; 17 }; 18 19 nativeBuildInputs = [ setuptools-scm ]; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "parameter_expansion" ]; 24 25 meta = { 26 description = "POSIX parameter expansion in Python"; 27 homepage = "https://github.com/nexB/parameter_expansion_patched"; 28 license = lib.licenses.asl20; 29 maintainers = with lib.maintainers; [ fab ]; 30 }; 31}