nixpkgs/pkgs/by-name/po/powersploit/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

34 lines
906 B
Nix

{ lib
, fetchFromGitHub
, stdenvNoCC
}:
stdenvNoCC.mkDerivation {
pname = "powersploit";
version = "3.0.0-unstable-2020-08-22";
src = fetchFromGitHub {
owner = "PowerShellMafia";
repo = "PowerSploit";
rev = "d943001a7defb5e0d1657085a77a0e78609be58f";
hash = "sha256-xVMCB8siyYc8JI7vjlUdO93jI3Qh054F/4CCZyGe75c=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/windows/powersploit
cp -a * $out/share/windows/powersploit
find $out/share/windows -type f -exec chmod -x {} \;
runHook postInstall
'';
meta = {
changelog = "https://github.com/PowerShellMafia/PowerSploit/releases/";
description = "PowerShell Post-Exploitation Framework";
license = with lib.licenses; [ bsd3 ];
maintainers = with lib.maintainers; [ shard7 ];
platforms = lib.platforms.all;
sourceProvenance = with lib.sourceTypes; [ fromSource ];
};
}