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
|
2016-07-06 22:09:24 +02:00
|
|
|
version = "2.6.8";
|
2014-12-01 11:56:13 +01:00
|
|
|
in
|
2016-08-03 02:38:06 +02:00
|
|
|
|
2014-12-01 11:56:13 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gnustep-make-${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";
|
|
|
|
sha256 = "0r00439f7vrggdwv60n8p626gnyymhq968i5x9ad2i4v6g8x4gk0";
|
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
|
|
|
};
|
|
|
|
}
|