nixpkgs/pkgs/development/libraries/gnustep/make/gsmakeDerivation.nix
Matthew Bauer 1e663df66c gnustep: provide default meta
Meta data like maintainers, license, and homepage is shared throughout the
"gnustep" project. Everything going through "gsmakeDerivation" now
shares overridable metadata.
2016-08-16 21:11:05 +00:00

19 lines
583 B
Nix

{ stdenv, lib, libobjc2, clang, 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 {});
})