nixos-config/pkgs/seclists.nix
2023-01-15 21:43:10 -05:00

15 lines
296 B
Nix

{ fetchFromGitHub, runCommand }:
let
src = fetchFromGitHub {
owner = "danielmiessler";
repo = "SecLists";
rev = "2022.4";
sha256 = "CCj662K1+CstJmFKeB+vbPomkxyErzY3mJcOrWs9cf4=";
};
in
runCommand "seclists" { } ''
mkdir -p $out/share
ln -s ${src} $out/share/seclists
''