crunch: init at 3.6

This commit is contained in:
Luca Bruno 2016-08-21 17:58:56 +01:00
parent 0b05a16070
commit cccdbf0bfd
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ stdenv, fetchurl, which }:
stdenv.mkDerivation rec {
name = "crunch-${version}";
version = "3.6";
src = fetchurl {
url = "mirror://sourceforge/crunch-wordlist/${name}.tgz";
sha256 = "0mgy6ghjvzr26yrhj1bn73qzw6v9qsniskc5wqq1kk0hfhy6r3va";
};
buildInputs = [ which ];
configurePhase = "true";
preBuild = ''
sed 's/sudo //' -i Makefile
sed 's/-g root -o root//' -i Makefile
'';
makeFlags = "PREFIX=$(out)";
meta = with stdenv.lib; {
description = "Wordlist generator";
homepage = https://sourceforge.net/projects/crunch-wordlist/;
platforms = platforms.linux;
maintainers = [ maintainers.lethalman ];
};
}

View File

@ -730,6 +730,8 @@ in
coturn = callPackage ../servers/coturn { };
crunch = callPackage ../tools/security/crunch { };
daemontools = callPackage ../tools/admin/daemontools { };
datamash = callPackage ../tools/misc/datamash { };