darwin.xattr: update src

+10 -5
+10 -5
pkgs/os-specific/darwin/xattr/default.nix
··· 1 { lib 2 , stdenv 3 - , fetchzip 4 , buildPythonPackage 5 , python 6 , ed ··· 11 pname = "xattr"; 12 version = "61.60.1"; 13 14 - src = fetchzip rec { 15 - url = "https://opensource.apple.com/tarballs/python_modules/python_modules-${version}.tar.gz"; 16 - sha256 = "19kydl7w4vpdi7zmfd5z9vjkq24jfk2cv4j0pppw69j06czhdwwi"; 17 }; 18 19 sourceRoot = "${src.name}/Modules/xattr-0.6.4"; ··· 61 ''; 62 63 makeWrapperArgs = [ 64 - "--prefix" "PYTHONPATH" ":" "${placeholder "python"}/${python.sitePackages}" 65 ]; 66 67 meta = with lib; {
··· 1 { lib 2 , stdenv 3 + , fetchFromGitHub 4 , buildPythonPackage 5 , python 6 , ed ··· 11 pname = "xattr"; 12 version = "61.60.1"; 13 14 + src = fetchFromGitHub { 15 + owner = "apple-oss-distributions"; 16 + repo = "python_modules"; 17 + rev = "python_modules-${version}"; 18 + hash = "sha256-kfMGPzNAJsPvvUCSzcR0kgg85U6/NFf/ie1uwg9tfqY="; 19 }; 20 21 sourceRoot = "${src.name}/Modules/xattr-0.6.4"; ··· 63 ''; 64 65 makeWrapperArgs = [ 66 + "--prefix" 67 + "PYTHONPATH" 68 + ":" 69 + "${placeholder "python"}/${python.sitePackages}" 70 ]; 71 72 meta = with lib; {