1 { lib, stdenv, fetchurl, which }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/crunch-wordlist/${pname}-${version}.tgz";
9 sha256 = "0mgy6ghjvzr26yrhj1bn73qzw6v9qsniskc5wqq1kk0hfhy6r3va";
12 buildInputs = [ which ];
15 substituteInPlace Makefile \
16 --replace '-g root -o root' "" \
17 --replace '-g wheel -o root' "" \
21 makeFlags = [ "PREFIX=$(out)" ];
24 description = "Wordlist generator";
25 homepage = "https://sourceforge.net/projects/crunch-wordlist/";
26 platforms = platforms.unix;
27 license = with licenses; [ gpl2Only ];
28 maintainers = with maintainers; [ lnl7 ];