python3Packages.click-configfile: adjust install_requires
This commit is contained in:
parent
bcec18a345
commit
5658eeea77
1 changed files with 14 additions and 1 deletions
|
@ -4,15 +4,19 @@
|
|||
, click
|
||||
, six
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "click-configfile";
|
||||
version = "0.2.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "lb7sE77pUOmPQ8gdzavvT2RAkVWepmKY+drfWTUdkNE=";
|
||||
hash = "sha256-lb7sE77pUOmPQ8gdzavvT2RAkVWepmKY+drfWTUdkNE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -24,6 +28,15 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "install_requires=install_requires," 'install_requires=["click >= 6.6", "six >= 1.10"],'
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"click_configfile"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_configfile__with_unbound_section"
|
||||
"test_matches_section__with_bad_arg"
|
||||
|
|
Loading…
Reference in a new issue