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