tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
install_name_tool: add expression
Jason "Don" O'Conal
12 years ago
2da7f32b
cf3364bd
+33
-1
3 changed files
expand all
collapse all
unified
split
pkgs
os-specific
darwin
install_name_tool
default.nix
top-level
all-packages.nix
python-packages.nix
+29
pkgs/os-specific/darwin/install_name_tool/default.nix
···
1
1
+
{ stdenv }:
2
2
+
3
3
+
assert stdenv.isDarwin;
4
4
+
5
5
+
stdenv.mkDerivation {
6
6
+
name = "install_name_tool";
7
7
+
src = "/usr/bin/install_name_tool";
8
8
+
unpackPhase = "true";
9
9
+
configurePhase = "true";
10
10
+
buildPhase = "true";
11
11
+
12
12
+
installPhase = ''
13
13
+
mkdir -p "$out"/bin
14
14
+
ln -s "$src" "$out"/bin
15
15
+
'';
16
16
+
17
17
+
meta = with stdenv.lib; {
18
18
+
description = "Change dynamic shared library install names";
19
19
+
homepage = https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man1/install_name_tool.1.html;
20
20
+
maintainers = with maintainers; [ lovek323 ];
21
21
+
platforms = platforms.darwin;
22
22
+
23
23
+
longDescription = ''
24
24
+
Install_name_tool changes the dynamic shared library install names and or
25
25
+
adds, changes or deletes the rpaths recorded in a Mach-O binary.
26
26
+
'';
27
27
+
};
28
28
+
}
29
29
+
+2
pkgs/top-level/all-packages.nix
···
444
444
445
445
apg = callPackage ../tools/security/apg { };
446
446
447
447
+
install_name_tool = callPackage ../os-specific/darwin/install_name_tool { };
448
448
+
447
449
xcodeenv = callPackage ../development/mobile/xcodeenv { };
448
450
449
451
titaniumenv_2_1 = import ../development/mobile/titaniumenv {
+2
-1
pkgs/top-level/python-packages.nix
···
6190
6190
sha256 = "1rvgrviwn6f037m8vq395chz6a1119dbsdhfwdbv5ambi0bak6ll";
6191
6191
};
6192
6192
6193
6193
-
buildInputs = [ pkgs.libspotify ];
6193
6193
+
buildInputs = [ pkgs.libspotify ]
6194
6194
+
++ stdenv.lib.optional stdenv.isDarwin pkgs.install_name_tool;
6194
6195
6195
6196
# python zip complains about old timestamps
6196
6197
preConfigure = ''