diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pyfakefs/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pyfakefs/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pyfakefs/default.nix b/nixpkgs/pkgs/development/python-modules/pyfakefs/default.nix index 16d9abe812b..7c1dc4fbb0d 100644 --- a/nixpkgs/pkgs/development/python-modules/pyfakefs/default.nix +++ b/nixpkgs/pkgs/development/python-modules/pyfakefs/default.nix @@ -1,12 +1,13 @@ -{ stdenv, buildPythonPackage, fetchPypi, python, pytest, glibcLocales, isPy37 }: +{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, python, pytest, glibcLocales }: buildPythonPackage rec { - version = "3.7.2"; + version = "4.1.0"; pname = "pyfakefs"; + disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - sha256 = "735ce6a71f26ead335df8a1f2c1cc8355ef091d98ffdc3bf73a5a3b0214e055e"; + sha256 = "bbbaa8b622fa50751a5839350fff3c1f8b1bbd364cd40fd0c7442e18fe5edc8e"; }; postPatch = '' @@ -24,8 +25,6 @@ buildPythonPackage rec { --replace "test_rename_dir_to_existing_dir" "notest_rename_dir_to_existing_dir" ''); - # https://github.com/jmcgeheeiv/pyfakefs/issues/508 - doCheck = !isPy37; checkInputs = [ pytest glibcLocales ]; checkPhase = '' @@ -39,6 +38,7 @@ buildPythonPackage rec { description = "Fake file system that mocks the Python file system modules"; license = licenses.asl20; homepage = "http://pyfakefs.org/"; + changelog = "https://github.com/jmcgeheeiv/pyfakefs/blob/master/CHANGES.md"; maintainers = with maintainers; [ gebner ]; }; } |