diff options
author | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2024-06-05 04:19:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-05 04:19:22 +0200 |
commit | 462dd577bc326dfef1a68ff31ef56ba64e194906 (patch) | |
tree | eced7d8b0e8aec164bc663b28d6bacec8898a8ed /pkgs/by-name/pa | |
parent | dcc42c10b90b7320ed30df9a28ba37342e02667b (diff) | |
parent | 8adaa32ad38d2c7239225c4a56ad3944234be4d1 (diff) |
Merge pull request #283621 from shard77/patch-11
payloadsallthethings: init at 3.0-unstable-2024-01-21
Diffstat (limited to 'pkgs/by-name/pa')
-rw-r--r-- | pkgs/by-name/pa/payloadsallthethings/package.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/by-name/pa/payloadsallthethings/package.nix b/pkgs/by-name/pa/payloadsallthethings/package.nix new file mode 100644 index 0000000000000..bc6c76429c0a4 --- /dev/null +++ b/pkgs/by-name/pa/payloadsallthethings/package.nix @@ -0,0 +1,33 @@ +{ lib +, fetchFromGitHub +, stdenvNoCC +}: + +stdenvNoCC.mkDerivation { + pname = "payloadsallthethings"; + version = "3.0-unstable-2024-01-21"; + + src = fetchFromGitHub { + owner = "swisskyrepo"; + repo = "PayloadsAllTheThings"; + rev = "97cfeee270395a838802fa1fcb8a4d5ffc6d6b48"; + hash = "sha256-LRS60v0o5nPSLfGFH6P0Y5roN8Mk5/KyRF4SWTv/7Hw="; + }; + + installPhase = '' + runHook preInstall + mkdir -p $out/share/payloadsallthethings + rm CONTRIBUTING.md mkdocs.yml custom.css + cp -a * $out/share/payloadsallthethings + runHook postInstall + ''; + + meta = { + homepage = "https://github.com/swisskyrepo/PayloadsAllTheThings"; + description = "A list of useful payloads and bypass for Web Application Security and Pentest/CTF"; + license = with lib.licenses; [ mit ]; + maintainers = with lib.maintainers; [ shard7 ]; + platforms = lib.platforms.all; + sourceProvenance = with lib.sourceTypes; [ fromSource ]; + }; +} |