forked from mirrors/nixpkgs
633acbf5c0
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - ran `/nix/store/9bilynlmzsc8z4wv6qjpgz983r434yad-gnustep-make-2.7.0/bin/gnustep-tests -h` got 0 exit code - ran `/nix/store/9bilynlmzsc8z4wv6qjpgz983r434yad-gnustep-make-2.7.0/bin/gnustep-tests --help` got 0 exit code - ran `/nix/store/9bilynlmzsc8z4wv6qjpgz983r434yad-gnustep-make-2.7.0/bin/gnustep-tests -h` and found version 2.7.0 - ran `/nix/store/9bilynlmzsc8z4wv6qjpgz983r434yad-gnustep-make-2.7.0/bin/gnustep-tests --help` and found version 2.7.0 - ran `/nix/store/9bilynlmzsc8z4wv6qjpgz983r434yad-gnustep-make-2.7.0/bin/openapp --help` got 0 exit code - ran `/nix/store/9bilynlmzsc8z4wv6qjpgz983r434yad-gnustep-make-2.7.0/bin/opentool --help` got 0 exit code - ran `/nix/store/9bilynlmzsc8z4wv6qjpgz983r434yad-gnustep-make-2.7.0/bin/gnustep-config --help` got 0 exit code - found 2.7.0 with grep in /nix/store/9bilynlmzsc8z4wv6qjpgz983r434yad-gnustep-make-2.7.0 - directory tree listing: https://gist.github.com/30c82119c95760404469e4a1fcfa0d8d
39 lines
952 B
Nix
39 lines
952 B
Nix
{ stdenv, fetchurl, clang, which, libobjc }:
|
|
|
|
let
|
|
version = "2.7.0";
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gnustep-make-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-${version}.tar.gz";
|
|
sha256 = "1khiygfkz0zhh9b5nybn40g0xnnjxchk24n49hff1bwanszir84h";
|
|
};
|
|
|
|
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/;
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
|
maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ];
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|