about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyfakefs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pyfakefs/default.nix')
-rw-r--r--pkgs/development/python-modules/pyfakefs/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/pyfakefs/default.nix b/pkgs/development/python-modules/pyfakefs/default.nix
index ff29175870ab..1bfef336848b 100644
--- a/pkgs/development/python-modules/pyfakefs/default.nix
+++ b/pkgs/development/python-modules/pyfakefs/default.nix
@@ -16,14 +16,14 @@
 
 buildPythonPackage rec {
   pname = "pyfakefs";
-  version = "5.5.0";
+  version = "5.6.0";
   pyproject = true;
 
   disabled = pythonOlder "3.5";
 
   src = fetchPypi {
     inherit pname version;
-    hash = "sha256-dEiqoHFC+JLQpOtSpe0yBqnwLGWZ5obNl9YkwYl5wVQ=";
+    hash = "sha256-elSbMoZaqX2LplOChak4FpQdm3NZvilUrGDsNrJ36Hk=";
   };
 
   postPatch =
@@ -35,7 +35,7 @@ buildPythonPackage rec {
         --replace "test_path_links_not_resolved" "notest_path_links_not_resolved" \
         --replace "test_append_mode_tell_linux_windows" "notest_append_mode_tell_linux_windows"
     ''
-    + (lib.optionalString stdenv.isDarwin ''
+    + (lib.optionalString stdenv.hostPlatform.isDarwin ''
       # this test fails on darwin due to case-insensitive file system
       substituteInPlace pyfakefs/tests/fake_os_test.py \
         --replace "test_rename_dir_to_existing_dir" "notest_rename_dir_to_existing_dir"