9 stdenv.mkDerivation rec {
10 pname = "macdylibbundler";
13 src = fetchFromGitHub {
15 repo = "macdylibbundler";
17 sha256 = "0j4ij48jf5izgymzxxaakf6vc50w9q0761yir6nfj1n6qlnrlidf";
20 nativeBuildInputs = [ makeWrapper ];
22 makeFlags = [ "PREFIX=$(out)" ];
25 wrapProgram $out/bin/dylibbundler \
26 --prefix PATH ":" "${cctools}/bin"
30 description = "Utility to ease bundling libraries into executables for OSX";
32 dylibbundler is a small command-line programs that aims to make bundling
33 .dylibs as easy as possible. It automatically determines which dylibs are
34 needed by your program, copies these libraries inside the app bundle, and
35 fixes both them and the executable to be ready for distribution... all
36 this with a single command on the teminal! It will also work if your
37 program uses plug-ins that have dependencies too.
39 homepage = "https://github.com/auriamg/macdylibbundler";
40 license = licenses.mit;
41 platforms = platforms.all;
42 maintainers = [ maintainers.nomeata ];