3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/darwin/osx-private-sdk/default.nix

17 lines
471 B
Nix
Raw Normal View History

2015-06-22 04:29:33 +01:00
{ stdenv, fetchzip }:
2015-06-22 04:29:33 +01:00
let full = stdenv.lib.overrideDerivation (fetchzip {
url = "https://github.com/samdmarshall/OSXPrivateSDK/tarball/69bf3c7f7140ed6ab2b6684b427bd457209858fe";
name = "osx-private-sdk-10.9";
sha256 = "1agl4kyry6m7yz3sql5mrbvmd1xkmb4nbq976phcpk19inans1zm";
}) (drv: {
postFetch = ''
unpackFile() {
tar xzf "$1"
}
'' + drv.postFetch;
}); in {
outPath = "${full}/PrivateSDK10.9";
passthru.sdk10 = "${full}/PrivateSDK10.10";
}