You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
626 B
Nix
33 lines
626 B
Nix
{ fetchFromGitLab
|
|
, lib
|
|
, stdenvNoCC
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "rockyou";
|
|
version = "0.3-1kali3";
|
|
|
|
src = fetchFromGitLab
|
|
{
|
|
group = "kalilinux";
|
|
owner = "packages";
|
|
repo = "wordlists";
|
|
rev = "debian/${version}";
|
|
sha256 = "sha256-viOd8iKLTiHrPF0azICp/F16JrPUfo4kbcGUPD2/cRs=";
|
|
} + "/rockyou.txt.gz";
|
|
|
|
unpackCmd = ''
|
|
mkdir src
|
|
gzip -dc ${src} > src/rockyou.txt
|
|
'';
|
|
|
|
installPhase = ''
|
|
install -m 444 -D rockyou.txt $out/share/rockyou.txt
|
|
'';
|
|
|
|
meta = with lib; {
|
|
license = "unknown";
|
|
maintainers = with maintainers; [ pamplemousse ];
|
|
};
|
|
}
|