add security-tool
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "make-${version}";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftpmain.gnustep.org/pub/gnustep/core/gnustep-make-2.6.6.tar.gz";
|
||||
sha256 = "07cqr8x17bia9w6clbmiv7ay6r9nplrjz2cyzinv4w7zfpc19vxw";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace GNUmakefile.in \
|
||||
--replace which type \
|
||||
--replace 'tooldir = $(DESTDIR)' 'tooldir = ' \
|
||||
--replace 'makedir = $(DESTDIR)' 'makedir = ' \
|
||||
--replace 'mandir = $(DESTDIR)' 'mandir = '
|
||||
|
||||
substituteInPlace FilesystemLayouts/apple \
|
||||
--replace /usr/local ""
|
||||
'';
|
||||
|
||||
installFlags = "DESTDIR=$(out)";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/nix-support
|
||||
cat >$out/nix-support/setup-hook <<EOF
|
||||
. $out/Library/GNUstep/Makefiles/GNUstep.sh
|
||||
EOF
|
||||
'';
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchgit, gnustep-make, Foundation, libobjc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xcode-${version}";
|
||||
version = "1.0";
|
||||
|
||||
makeFlags = "messages=yes";
|
||||
|
||||
installFlags = "DESTDIR=$(out)";
|
||||
|
||||
__impureHostDeps = [
|
||||
"/System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation"
|
||||
"/usr/lib/libextension.dylib"
|
||||
];
|
||||
|
||||
buildInputs = [ gnustep-make Foundation libobjc ];
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/gnustep/xcode";
|
||||
rev = "cc5016794e44f9998674120a5e4625aa09ca455a";
|
||||
sha256 = "85420f3f61091b2e4548cf5e99d886cb9c72cf07b8b9fae3eebc87e7b6b7e54a";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user