about summary refs log tree commit diff
path: root/pkgs/development/python-modules/parameter-expansion-patched/default.nix
blob: 18511e1c70fde15dac27b976e0732cc900c7de83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "parameter-expansion-patched";
  version = "0.2.1b4";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1vhshscjifi78qapzwn29gln6p8jhyc7cccszl8ai2jamhcph5zs";
  };

  checkInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "parameter_expansion"
  ];

  meta = with lib; {
    description = "POSIX parameter expansion in Python";
    homepage = "https://github.com/nexB/commoncode";
    license = licenses.asl20;
    maintainers = with maintainers; [ fab ];
  };
}