install_name_tool: add expression

+33 -1
+29
pkgs/os-specific/darwin/install_name_tool/default.nix
··· 1 + { stdenv }: 2 + 3 + assert stdenv.isDarwin; 4 + 5 + stdenv.mkDerivation { 6 + name = "install_name_tool"; 7 + src = "/usr/bin/install_name_tool"; 8 + unpackPhase = "true"; 9 + configurePhase = "true"; 10 + buildPhase = "true"; 11 + 12 + installPhase = '' 13 + mkdir -p "$out"/bin 14 + ln -s "$src" "$out"/bin 15 + ''; 16 + 17 + meta = with stdenv.lib; { 18 + description = "Change dynamic shared library install names"; 19 + homepage = https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man1/install_name_tool.1.html; 20 + maintainers = with maintainers; [ lovek323 ]; 21 + platforms = platforms.darwin; 22 + 23 + longDescription = '' 24 + Install_name_tool changes the dynamic shared library install names and or 25 + adds, changes or deletes the rpaths recorded in a Mach-O binary. 26 + ''; 27 + }; 28 + } 29 +
+2
pkgs/top-level/all-packages.nix
··· 444 444 445 445 apg = callPackage ../tools/security/apg { }; 446 446 447 + install_name_tool = callPackage ../os-specific/darwin/install_name_tool { }; 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 - buildInputs = [ pkgs.libspotify ]; 6193 + buildInputs = [ pkgs.libspotify ] 6194 + ++ stdenv.lib.optional stdenv.isDarwin pkgs.install_name_tool; 6194 6195 6195 6196 # python zip complains about old timestamps 6196 6197 preConfigure = ''