nixpkgs/pkgs/desktops/gnustep/make/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
1.1 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, which
, libobjc
}:
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";
src = fetchurl {
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=";
};
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 ];
propagatedBuildInputs = [ which ];
patches = [ ./fixup-paths.patch ];
setupHook = ./setup-hook.sh;
meta = {
changelog = "https://github.com/gnustep/tools-make/releases/tag/make-${builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
description = "Build manager for GNUstep";
homepage = "https://gnustep.github.io/";
2021-01-15 13:21:58 +00:00
license = lib.licenses.lgpl2Plus;
maintainers = with lib.maintainers; [ ashalkhakov matthewbauer dblsaiko ];
2021-01-15 13:21:58 +00:00
platforms = lib.platforms.unix;
};
})