From c7520b66702b726e12bc292d1efd56730901735d Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Fri, 8 Jun 2018 13:37:53 +0100 Subject: [PATCH] dylibbundler: init --- pkgs/tools/misc/dylibbundler/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/tools/misc/dylibbundler/default.nix diff --git a/pkgs/tools/misc/dylibbundler/default.nix b/pkgs/tools/misc/dylibbundler/default.nix new file mode 100644 index 000000000000..c88e29bb4553 --- /dev/null +++ b/pkgs/tools/misc/dylibbundler/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "dylibbundler"; + + src = fetchFromGitHub { + owner = "auriamg"; + repo = "/macdylibbundler"; + rev = "27923fbf6d1bc4d18c18e118280c4fe51fc41a80"; + sha256 = "1mpd43hvpfp7pskfrjnd6vcmfii9v3p97q0ws50krkdvshp0bv2h"; + }; + + makeFlags = "PREFIX=$(out)"; + + meta = with stdenv.lib; { + description = "Small command-line program that aims to make bundling .dylibs as easy as possible"; + homepage = "https://github.com/auriamg/macdylibbundler"; + license = licenses.mit; + maintainers = with maintainers; [ alexfmpe ]; + platforms = with platforms; darwin ++ linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dc29d48760b8..9f5aa1fac23b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1176,6 +1176,8 @@ with pkgs; duperemove = callPackage ../tools/filesystems/duperemove { }; + dylibbundler = callPackage ../tools/misc/dylibbundler { }; + dynamic-colors = callPackage ../tools/misc/dynamic-colors { }; dyncall = callPackage ../development/libraries/dyncall { };