mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #213663 from wegank/darwin-hash-master
darwin: update srcs
This commit is contained in:
commit
fe85b09c8b
@ -5,8 +5,8 @@ stdenv.mkDerivation rec {
|
|||||||
version = "1";
|
version = "1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://opensource.apple.com/tarballs/DarwinTools/DarwinTools-${version}.tar.gz";
|
url = "https://web.archive.org/web/20180408044816/https://opensource.apple.com/tarballs/DarwinTools/DarwinTools-${version}.tar.gz";
|
||||||
sha256 = "0hh4jl590jv3v830p77r3jcrnpndy7p2b8ajai3ldpnx2913jfhp";
|
hash = "sha256-Fzo5QhLd3kZHVFKhJe7xzV6bmRz5nAsG2mNLkAqVBEI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchzip
|
, fetchFromGitHub
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, python
|
, python
|
||||||
, ed
|
, ed
|
||||||
@ -11,9 +11,11 @@ buildPythonPackage rec {
|
|||||||
pname = "xattr";
|
pname = "xattr";
|
||||||
version = "61.60.1";
|
version = "61.60.1";
|
||||||
|
|
||||||
src = fetchzip rec {
|
src = fetchFromGitHub {
|
||||||
url = "https://opensource.apple.com/tarballs/python_modules/python_modules-${version}.tar.gz";
|
owner = "apple-oss-distributions";
|
||||||
sha256 = "19kydl7w4vpdi7zmfd5z9vjkq24jfk2cv4j0pppw69j06czhdwwi";
|
repo = "python_modules";
|
||||||
|
rev = "python_modules-${version}";
|
||||||
|
hash = "sha256-kfMGPzNAJsPvvUCSzcR0kgg85U6/NFf/ie1uwg9tfqY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "${src.name}/Modules/xattr-0.6.4";
|
sourceRoot = "${src.name}/Modules/xattr-0.6.4";
|
||||||
@ -61,7 +63,10 @@ buildPythonPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
makeWrapperArgs = [
|
makeWrapperArgs = [
|
||||||
"--prefix" "PYTHONPATH" ":" "${placeholder "python"}/${python.sitePackages}"
|
"--prefix"
|
||||||
|
"PYTHONPATH"
|
||||||
|
":"
|
||||||
|
"${placeholder "python"}/${python.sitePackages}"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, openssl, libbsd }:
|
{ lib, stdenv, fetchurl, fetchFromGitHub, openssl, libbsd }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "332.25";
|
version = "332.25";
|
||||||
@ -8,9 +8,12 @@ stdenv.mkDerivation rec {
|
|||||||
url = "http://ftp.de.debian.org/debian/pool/main/h/hfsprogs/hfsprogs_${version}-11.debian.tar.gz";
|
url = "http://ftp.de.debian.org/debian/pool/main/h/hfsprogs/hfsprogs_${version}-11.debian.tar.gz";
|
||||||
sha256 = "62d9b8599c66ebffbc57ce5d776e20b41341130d9b27341d63bda08460ebde7c";
|
sha256 = "62d9b8599c66ebffbc57ce5d776e20b41341130d9b27341d63bda08460ebde7c";
|
||||||
})
|
})
|
||||||
(fetchurl {
|
(fetchFromGitHub {
|
||||||
url = "https://opensource.apple.com/tarballs/diskdev_cmds/diskdev_cmds-${version}.tar.gz";
|
owner = "apple-oss-distributions";
|
||||||
sha256 = "74c9aeca899ed7f4bf155c65fc45bf0f250c0f6d57360ea953b1d536d9aa45e6";
|
repo = "diskdev_cmds";
|
||||||
|
rev = "diskdev_cmds-${version}";
|
||||||
|
hash = "sha256-cycPGPx2Gbjn4FKGKuQKJkh+dWGbJfy6C+LTz8rrs0A=";
|
||||||
|
name = sourceRoot;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchzip
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, libbsd
|
, libbsd
|
||||||
@ -12,9 +12,11 @@ stdenv.mkDerivation rec {
|
|||||||
pname = "pdisk";
|
pname = "pdisk";
|
||||||
version = "0.9";
|
version = "0.9";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchFromGitHub {
|
||||||
url = "https://opensource.apple.com/tarballs/pdisk/pdisk-${lib.versions.minor version}.tar.gz";
|
owner = "apple-oss-distributions";
|
||||||
sha256 = "sha256-+gBgnk/1juEHE0nXaz7laUaH7sxrX5SzsLGr0PHsdHs=";
|
repo = pname;
|
||||||
|
rev = "${pname}-${lib.versions.minor version}";
|
||||||
|
hash = "sha256-+gBgnk/1juEHE0nXaz7laUaH7sxrX5SzsLGr0PHsdHs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
Loading…
Reference in New Issue
Block a user