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
|
2020-04-16 20:44:20 +01:00
|
|
|
version = "2.8.0";
|
2014-12-01 10:56:13 +00:00
|
|
|
in
|
2016-08-03 01:38:06 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "gnustep-make";
|
|
|
|
inherit 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";
|
2020-04-16 20:44:20 +01:00
|
|
|
sha256 = "0pfaylrr3xgn5026anmja4rv4l7nzzaqsrkxycyi0p4lvm12kklz";
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://gnustep.org/";
|
2014-12-01 10:56:13 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|