diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-01-17 13:48:25 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-01-23 01:09:34 +0100 |
commit | 0c89c2a4bf027040aa87fa2b0c6305be5f588525 (patch) | |
tree | 25596dd27ee4fa3ea2d5b77866065e6f946eb7c7 /pkgs/development/python-modules/configshell | |
parent | a2c41d3942769aff2f5c7e75d400e4be1a675dd4 (diff) |
python3Packages.configshell: relax pyparsing constraint
Diffstat (limited to 'pkgs/development/python-modules/configshell')
-rw-r--r-- | pkgs/development/python-modules/configshell/default.nix | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/configshell/default.nix b/pkgs/development/python-modules/configshell/default.nix index 9f67aacf2d4eb..2cd66636b016b 100644 --- a/pkgs/development/python-modules/configshell/default.nix +++ b/pkgs/development/python-modules/configshell/default.nix @@ -1,4 +1,10 @@ -{ lib, fetchFromGitHub, buildPythonPackage, pyparsing, six, urwid }: +{ lib +, fetchFromGitHub +, buildPythonPackage +, pyparsing +, six +, urwid +}: buildPythonPackage rec { pname = "configshell"; @@ -11,11 +17,28 @@ buildPythonPackage rec { sha256 = "0mjj3c9335sph8rhwww7j4zvhyk896fbmx887vibm89w3jpvjjr9"; }; - propagatedBuildInputs = [ pyparsing six urwid ]; + propagatedBuildInputs = [ + pyparsing + six + urwid + ]; + + postPatch = '' + substituteInPlace setup.py \ + --replace "pyparsing >=2.0.2,<3.0" "pyparsing >=2.0.2" + ''; + + # Module has no tests + doCheck = false; + + pythonImportsCheck = [ + "configshell" + ]; meta = with lib; { - description = "A Python library for building configuration shells"; + description = "Python library for building configuration shells"; homepage = "https://github.com/open-iscsi/configshell-fb"; license = licenses.asl20; + maintainers = with maintainers; [ ]; }; } |