blob: 7ab9692f0d427239a8ec6657b5c16c3ac82ea86b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ 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;
}
|