2016-07-15 19:04:41 +01:00
|
|
|
{ stdenv, fetchurl, clang, which, libobjc }:
|
2016-08-03 01:38:06 +01:00
|
|
|
|
2014-12-01 10:56:13 +00:00
|
|
|
let
|
2016-07-06 21:09:24 +01:00
|
|
|
version = "2.6.8";
|
2014-12-01 10:56:13 +00:00
|
|
|
in
|
2016-08-03 01:38:06 +01:00
|
|
|
|
2014-12-01 10:56:13 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gnustep-make-${version}";
|
2016-08-03 01:38:06 +01:00
|
|
|
|
2014-12-01 10:56:13 +00:00
|
|
|
src = fetchurl {
|
2016-07-06 21:09:24 +01:00
|
|
|
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-${version}.tar.gz";
|
|
|
|
sha256 = "0r00439f7vrggdwv60n8p626gnyymhq968i5x9ad2i4v6g8x4gk0";
|
2014-12-01 10:56:13 +00:00
|
|
|
};
|
2016-08-03 01:38:06 +01:00
|
|
|
|
|
|
|
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 19:04:41 +01:00
|
|
|
buildInputs = [ clang which libobjc ];
|
2015-01-25 16:34:52 +00:00
|
|
|
patches = [ ./fixup-paths.patch ];
|
2014-12-10 16:28:55 +00:00
|
|
|
setupHook = ./setup-hook.sh;
|
2014-12-01 10:56:13 +00:00
|
|
|
meta = {
|
2016-07-11 21:00:49 +01:00
|
|
|
description = "A build manager for GNUstep";
|
2014-12-01 10:56:13 +00:00
|
|
|
homepage = http://gnustep.org/;
|
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2016-06-29 21:05:48 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ];
|
2016-08-03 01:38:06 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-12-01 10:56:13 +00:00
|
|
|
};
|
|
|
|
}
|