1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6 pythonOlder,
7 setuptools-scm,
8}:
9
10buildPythonPackage rec {
11 pname = "parameter-expansion-patched";
12 version = "0.3.1";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-/128ifveWC8zNlYtGWtxB3HpK6p7bVk1ahSwhaC2dAs=";
20 };
21
22 nativeBuildInputs = [ setuptools-scm ];
23
24 nativeCheckInputs = [ pytestCheckHook ];
25
26 pythonImportsCheck = [ "parameter_expansion" ];
27
28 meta = with lib; {
29 description = "POSIX parameter expansion in Python";
30 homepage = "https://github.com/nexB/parameter_expansion_patched";
31 license = licenses.asl20;
32 maintainers = with maintainers; [ fab ];
33 };
34}