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