depot/third_party/nixpkgs/pkgs/os-specific/darwin/insert_dylib/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

22 lines
524 B
Nix

{ lib, stdenv, fetchFromGitHub, xcbuildHook }:
stdenv.mkDerivation {
pname = "insert_dylib";
version = "unstable-2016-08-28";
src = fetchFromGitHub {
owner = "Tyilo";
repo = "insert_dylib";
rev = "c8beef66a08688c2feeee2c9b6eaf1061c2e67a9";
sha256 = "0az38y06pvvy9jf2wnzdwp9mp98lj6nr0ldv0cs1df5p9x2qvbya";
};
nativeBuildInputs = [ xcbuildHook ];
installPhase = ''
mkdir -p $out/bin
install -m755 Products/Release/insert_dylib $out/bin
'';
meta.platforms = lib.platforms.darwin;
}