gtk-mac-bundler: init at 0.7.4

This commit is contained in:
Matthew Bauer 2016-11-22 23:09:45 -06:00
parent 8497ef1ed2
commit 21143cc000
No known key found for this signature in database
GPG Key ID: E04D0AD9469141C3
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "gtk-mac-bundler-${version}";
version = "0.7.4";
src = fetchFromGitHub {
owner = "GNOME";
repo = "gtk-mac-bundler";
rev = "bundler-${version}";
sha256 = "1kyyq2hc217i5vhbfff0ldgv0r3aziwryd1xlck5cw3s6hgskbza";
};
installPhase = ''
mkdir -p $out/bin
substitute gtk-mac-bundler.in $out/bin/gtk-mac-bundler \
--subst-var-by PATH $out/share
chmod a+x $out/bin/gtk-mac-bundler
mkdir -p $out/share
cp -r bundler $out/share
'';
meta = with lib; {
description = "a helper script that creates application bundles form GTK+ executables for Mac OS X";
maintainers = [ maintainers.matthewbauer ];
platforms = platforms.darwin;
homepage = https://wiki.gnome.org/Projects/GTK+/OSX/Bundling;
license = licenses.gpl2;
};
}

View File

@ -7539,6 +7539,8 @@ in
gtk = gtk2;
};
gtk-mac-bundler = callPackage ../development/tools/gtk-mac-bundler {};
gtkspell2 = callPackage ../development/libraries/gtkspell { };
gtkspell3 = callPackage ../development/libraries/gtkspell/3.nix { };