2016-07-15 18:04:41 +00:00
|
|
|
{ stdenv, fetchurl, clang, which, libobjc }:
|
2016-08-03 00:38:06 +00:00
|
|
|
|
2014-12-01 10:56:13 +00:00
|
|
|
let
|
2018-03-16 19:33:58 +00:00
|
|
|
version = "2.7.0";
|
2014-12-01 10:56:13 +00:00
|
|
|
in
|
2016-08-03 00:38:06 +00:00
|
|
|
|
2014-12-01 10:56:13 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gnustep-make-${version}";
|
2016-08-03 00:38:06 +00:00
|
|
|
|
2014-12-01 10:56:13 +00:00
|
|
|
src = fetchurl {
|
2016-07-06 20:09:24 +00:00
|
|
|
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-${version}.tar.gz";
|
2018-03-16 19:33:58 +00:00
|
|
|
sha256 = "1khiygfkz0zhh9b5nybn40g0xnnjxchk24n49hff1bwanszir84h";
|
2014-12-01 10:56:13 +00:00
|
|
|
};
|
2016-08-03 00:38:06 +00: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 18:04:41 +00: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 20:00:49 +00: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 20:05:48 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ];
|
2016-08-03 00:38:06 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-12-01 10:56:13 +00:00
|
|
|
};
|
|
|
|
}
|