3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnustep/make/default.nix

40 lines
942 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, stdenv, fetchurl, clang, which, libobjc }:
let
2021-05-07 17:08:46 +01:00
version = "2.9.0";
in
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
2019-08-13 22:52:01 +01:00
pname = "gnustep-make";
inherit version;
src = fetchurl {
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-${version}.tar.gz";
2021-05-07 17:08:46 +01:00
sha256 = "sha256-oLBmwRJXh5x8hTEd6mnGf23HQe8znbZRT4W2SZLEDSo=";
};
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 ];
patches = [ ./fixup-paths.patch ];
setupHook = ./setup-hook.sh;
meta = {
description = "A build manager for GNUstep";
homepage = "http://gnustep.org/";
2021-01-15 13:21:58 +00:00
license = lib.licenses.lgpl2Plus;
maintainers = with lib.maintainers; [ ashalkhakov matthewbauer ];
platforms = lib.platforms.unix;
};
}