summary refs log tree commit diff
path: root/pkgs/desktops/gnustep/make/gsmakeDerivation.nix
blob: 00b96cd2fac1bb473dba5138d324f4145ecde280 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 {});
})