mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
Merge pull request #283621 from shard77/patch-11
payloadsallthethings: init at 3.0-unstable-2024-01-21
This commit is contained in:
commit
462dd577bc
33
pkgs/by-name/pa/payloadsallthethings/package.nix
Normal file
33
pkgs/by-name/pa/payloadsallthethings/package.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user