mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
c556a6ea46
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
32 lines
852 B
Nix
32 lines
852 B
Nix
args : with args;
|
|
rec {
|
|
src = fetchurl {
|
|
url = http://www.packetstormsecurity.nl/UNIX/utilities/framework-3.1.tar.gz;
|
|
sha256 = "114znq9dfcyh9gcj57p3zsc0d0amlzhwidmg8qjcgxpjh28h1afx";
|
|
};
|
|
|
|
buildInputs = [makeWrapper];
|
|
configureFlags = [];
|
|
|
|
doInstall = fullDepEntry(''
|
|
mkdir -p $out/share/msf
|
|
mkdir -p $out/bin
|
|
|
|
cp -r * $out/share/msf
|
|
|
|
for i in $out/share/msf/msf*; do
|
|
makeWrapper $i $out/bin/$(basename $i) --prefix RUBYLIB : $out/share/msf/lib
|
|
done
|
|
'') ["minInit" "defEnsureDir" "doUnpack" "addInputs"];
|
|
|
|
/* doConfigure should be specified separately */
|
|
phaseNames = ["doInstall" (doPatchShebangs "$out/share/msf")];
|
|
|
|
name = "metasploit-framework-3.1";
|
|
meta = {
|
|
description = "Metasploit Framework - a collection of exploits";
|
|
homepage = "http://framework.metasploit.org/";
|
|
};
|
|
}
|
|
|