Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / po / powersploit / package.nix
blob5a63dcf9f003ff5b498fb5773091e4c3624f5f03
1 { lib
2 , fetchFromGitHub
3 , stdenvNoCC
4 }:
6 stdenvNoCC.mkDerivation {
7   pname = "powersploit";
8   version = "3.0.0-unstable-2020-08-22";
10   src = fetchFromGitHub {
11     owner = "PowerShellMafia";
12     repo = "PowerSploit";
13     rev = "d943001a7defb5e0d1657085a77a0e78609be58f";
14     hash = "sha256-xVMCB8siyYc8JI7vjlUdO93jI3Qh054F/4CCZyGe75c=";
15   };
17   installPhase = ''
18     runHook preInstall
19     mkdir -p $out/share/windows/powersploit
20     cp -a * $out/share/windows/powersploit
21     find $out/share/windows -type f -exec chmod -x {} \;
22     runHook postInstall
23   '';
25   meta = {
26     changelog = "https://github.com/PowerShellMafia/PowerSploit/releases/";
27     description = "PowerShell Post-Exploitation Framework";
28     license = with lib.licenses; [ bsd3 ];
29     maintainers = with lib.maintainers; [ shard7 ];
30     platforms = lib.platforms.all;
31     sourceProvenance = with lib.sourceTypes; [ fromSource ];
32   };