depot/third_party/nixpkgs/pkgs/development/python-modules/parameter-expansion-patched/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

34 lines
733 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonOlder,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "parameter-expansion-patched";
version = "0.3.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-/128ifveWC8zNlYtGWtxB3HpK6p7bVk1ahSwhaC2dAs=";
};
nativeBuildInputs = [ setuptools-scm ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "parameter_expansion" ];
meta = with lib; {
description = "POSIX parameter expansion in Python";
homepage = "https://github.com/nexB/parameter_expansion_patched";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}