2021-01-17 00:15:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, clang, which, libobjc }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "gnustep-make";
|
2021-07-14 22:03:04 +00:00
|
|
|
version = "2.9.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-${version}.tar.gz";
|
2021-05-20 23:08:51 +00:00
|
|
|
sha256 = "sha256-oLBmwRJXh5x8hTEd6mnGf23HQe8znbZRT4W2SZLEDSo=";
|
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"
|
|
|
|
];
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
nativeBuildInputs = [ clang which ];
|
|
|
|
buildInputs = [ libobjc ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
patches = [ ./fixup-paths.patch ];
|
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
meta = {
|
|
|
|
description = "A build manager for GNUstep";
|
|
|
|
homepage = "http://gnustep.org/";
|
2021-07-14 22:03:04 +00:00
|
|
|
changelog = "https://github.com/gnustep/tools-make/releases/tag/make-${builtins.replaceStrings [ "." ] [ "_" ] version}";
|
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
|
|
|
};
|
|
|
|
}
|