2021-01-17 00:15:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, clang, which, libobjc }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
2020-05-29 06:06:01 +00:00
|
|
|
version = "2.8.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "gnustep-make";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-${version}.tar.gz";
|
2020-05-29 06:06:01 +00:00
|
|
|
sha256 = "0pfaylrr3xgn5026anmja4rv4l7nzzaqsrkxycyi0p4lvm12kklz";
|
2020-04-24 23:36:52 +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"
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ clang which libobjc ];
|
|
|
|
patches = [ ./fixup-paths.patch ];
|
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
meta = {
|
|
|
|
description = "A build manager for GNUstep";
|
|
|
|
homepage = "http://gnustep.org/";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.lgpl2Plus;
|
|
|
|
maintainers = with lib.maintainers; [ ashalkhakov matthewbauer ];
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|