2023-12-18 02:10:46 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, which
|
|
|
|
, libobjc
|
|
|
|
}:
|
2016-08-03 00:38:06 +00:00
|
|
|
|
2023-12-18 02:10:46 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "gnustep-make";
|
2024-05-31 11:35:47 +00:00
|
|
|
version = "2.9.2";
|
2016-08-03 00:38:06 +00:00
|
|
|
|
2014-12-01 10:56:13 +00:00
|
|
|
src = fetchurl {
|
2023-12-18 02:10:46 +00:00
|
|
|
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-${finalAttrs.version}.tar.gz";
|
2024-05-31 11:35:47 +00:00
|
|
|
sha256 = "sha256-9UDfnw4drrPSOwjhSyBLKkbx0KQAXLFxyVMjQTgG5OE=";
|
2014-12-01 10:56:13 +00:00
|
|
|
};
|
2016-08-03 00:38:06 +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-07-13 19:12:10 +00:00
|
|
|
buildInputs = [ libobjc ];
|
|
|
|
|
2023-12-18 02:10:46 +00:00
|
|
|
propagatedBuildInputs = [ which ];
|
|
|
|
|
2015-01-25 16:34:52 +00:00
|
|
|
patches = [ ./fixup-paths.patch ];
|
2014-12-10 16:28:55 +00:00
|
|
|
setupHook = ./setup-hook.sh;
|
2023-12-18 02:10:46 +00:00
|
|
|
|
2014-12-01 10:56:13 +00:00
|
|
|
meta = {
|
2023-12-18 02:10:46 +00:00
|
|
|
changelog = "https://github.com/gnustep/tools-make/releases/tag/make-${builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
|
2016-07-11 20:00:49 +00:00
|
|
|
description = "Build manager for GNUstep";
|
2023-12-18 02:10:46 +00:00
|
|
|
homepage = "https://gnustep.github.io/";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.lgpl2Plus;
|
2023-12-18 02:10:46 +00:00
|
|
|
maintainers = with lib.maintainers; [ ashalkhakov matthewbauer dblsaiko ];
|
2021-01-15 13:21:58 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2014-12-01 10:56:13 +00:00
|
|
|
};
|
2023-12-18 02:10:46 +00:00
|
|
|
})
|