2016-11-23 05:09:45 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gtk-mac-bundler";
|
2016-11-23 05:09:45 +00:00
|
|
|
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; {
|
2017-08-06 23:05:18 +01:00
|
|
|
description = "a helper script that creates application bundles form GTK+ executables for macOS";
|
2016-11-23 05:09:45 +00:00
|
|
|
maintainers = [ maintainers.matthewbauer ];
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
homepage = https://wiki.gnome.org/Projects/GTK+/OSX/Bundling;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|