2018-07-07 00:53:50 +02:00
|
|
|
{ stdenv, fetchFromGitHub, xcbuildHook }:
|
2017-12-09 20:37:24 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation
|
|
|
|
{ name = "insert_dylib-2016.08.28";
|
|
|
|
src = fetchFromGitHub
|
|
|
|
{ owner = "Tyilo";
|
|
|
|
repo = "insert_dylib";
|
|
|
|
rev = "c8beef66a08688c2feeee2c9b6eaf1061c2e67a9";
|
|
|
|
sha256 = "0az38y06pvvy9jf2wnzdwp9mp98lj6nr0ldv0cs1df5p9x2qvbya";
|
|
|
|
};
|
2018-07-07 00:53:50 +02:00
|
|
|
nativeBuildInputs = [ xcbuildHook ];
|
2017-12-09 20:37:24 +01:00
|
|
|
installPhase =
|
|
|
|
''
|
|
|
|
mkdir -p $out/bin
|
2019-01-07 05:31:21 +01:00
|
|
|
install -m755 Products/Release/insert_dylib $out/bin
|
2017-12-09 20:37:24 +01:00
|
|
|
'';
|
2017-12-11 02:22:36 +01:00
|
|
|
meta.platforms = stdenv.lib.platforms.darwin;
|
2017-12-09 20:37:24 +01:00
|
|
|
}
|