diff options
Diffstat (limited to 'pkgs/desktops/gnustep/make/gsmakeDerivation.nix')
-rw-r--r-- | pkgs/desktops/gnustep/make/gsmakeDerivation.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/desktops/gnustep/make/gsmakeDerivation.nix b/pkgs/desktops/gnustep/make/gsmakeDerivation.nix new file mode 100644 index 000000000000..00b96cd2fac1 --- /dev/null +++ b/pkgs/desktops/gnustep/make/gsmakeDerivation.nix @@ -0,0 +1,19 @@ +{ stdenv, lib, make, makeWrapper, which }: +{ buildInputs ? [], ...} @ args: +stdenv.mkDerivation (args // { + buildInputs = [ makeWrapper make which ] ++ buildInputs; + + builder = ./builder.sh; + setupHook = ./setup-hook.sh; + + GNUSTEP_MAKEFILES = "${make}/share/GNUstep/Makefiles"; + + meta = { + homepage = http://gnustep.org/; + + license = stdenv.lib.licenses.lgpl2Plus; + + maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ]; + platforms = stdenv.lib.platforms.linux; + } // (if builtins.hasAttr "meta" args then args.meta else {}); +}) |