depot/third_party/nixpkgs/pkgs/development/python-modules/parameter-expansion-patched/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

39 lines
743 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 ];
};
}