From e635333870193432ff80d67cfaa7163ab4a9699a Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 5 Jan 2020 15:26:48 +0100 Subject: [PATCH] python2Packages.pyxattr: remain at 0.6.1, fixes #76979 --- pkgs/top-level/python-packages.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e206a12481b..ebf0102ab99 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4986,7 +4986,16 @@ in { pywinrm = callPackage ../development/python-modules/pywinrm { }; - pyxattr = callPackage ../development/python-modules/pyxattr { }; + pyxattr = let + pyxattr' = callPackage ../development/python-modules/pyxattr { }; + pyxattr_2 = pyxattr'.overridePythonAttrs(oldAttrs: { + version = "0.6.1"; + src = oldAttrs.src.override { + inherit version; + sha256 = "b525843f6b51036198b3b87c4773a5093d6dec57d60c18a1f269dd7059aa16e3"; + }; + }); + in if isPy3k then pyxattr' else pyxattr_2; pyamg = callPackage ../development/python-modules/pyamg { };