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

39 lines
952 B
Nix
Raw Normal View History

2016-07-15 20:04:41 +02:00
{ stdenv, fetchurl, clang, which, libobjc }:
let
version = "2.6.8";
in
stdenv.mkDerivation rec {
name = "gnustep-make-${version}";
src = fetchurl {
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-${version}.tar.gz";
sha256 = "0r00439f7vrggdwv60n8p626gnyymhq968i5x9ad2i4v6g8x4gk0";
};
configureFlags = [
"--with-layout=fhs-system"
"--disable-install-p"
];
preConfigure = ''
configureFlags="$configureFlags --with-config-file=$out/etc/GNUstep/GNUstep.conf"
'';
makeFlags = [
"GNUSTEP_INSTALLATION_DOMAIN=SYSTEM"
];
2016-07-15 20:04:41 +02:00
buildInputs = [ clang which libobjc ];
patches = [ ./fixup-paths.patch ];
setupHook = ./setup-hook.sh;
meta = {
description = "A build manager for GNUstep";
homepage = http://gnustep.org/;
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ];
platforms = stdenv.lib.platforms.unix;
};
}