nixpkgs/pkgs/desktops/gnustep/make/gsmakeDerivation.nix

20 lines
547 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, 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/";
2021-01-15 13:21:58 +00:00
license = lib.licenses.lgpl2Plus;
2021-01-15 13:21:58 +00:00
maintainers = with lib.maintainers; [ ashalkhakov matthewbauer ];
platforms = lib.platforms.linux;
} // (if builtins.hasAttr "meta" args then args.meta else {});
})