azure-storage-azcopy: 10.27.1 -> 10.28.0 (#377459)
[NixPkgs.git] / pkgs / by-name / po / powersploit / package.nix
blob1f2600a7493d73a6554a42c9c69534ad49ba564a
2   lib,
3   fetchFromGitHub,
4   stdenvNoCC,
5 }:
7 stdenvNoCC.mkDerivation {
8   pname = "powersploit";
9   version = "3.0.0-unstable-2020-08-22";
11   src = fetchFromGitHub {
12     owner = "PowerShellMafia";
13     repo = "PowerSploit";
14     rev = "d943001a7defb5e0d1657085a77a0e78609be58f";
15     hash = "sha256-xVMCB8siyYc8JI7vjlUdO93jI3Qh054F/4CCZyGe75c=";
16   };
18   installPhase = ''
19     runHook preInstall
20     mkdir -p $out/share/windows/powersploit
21     cp -a * $out/share/windows/powersploit
22     find $out/share/windows -type f -exec chmod -x {} \;
23     runHook postInstall
24   '';
26   meta = {
27     changelog = "https://github.com/PowerShellMafia/PowerSploit/releases/";
28     description = "PowerShell Post-Exploitation Framework";
29     license = with lib.licenses; [ bsd3 ];
30     maintainers = with lib.maintainers; [ shard7 ];
31     platforms = lib.platforms.all;
32     sourceProvenance = with lib.sourceTypes; [ fromSource ];
33   };