evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / mi / mimikatz / package.nix
blobbecc83dc6142fafa2db07f899e1cf4149a2a366a
1 { lib
2 , fetchzip
3 , stdenvNoCC
4 }:
6 stdenvNoCC.mkDerivation (finalAttrs: {
7   pname = "mimikatz";
8   version = "2.2.0-20220919";
10   src = fetchzip {
11     url = "https://github.com/gentilkiwi/mimikatz/releases/download/${finalAttrs.version}/mimikatz_trunk.zip";
12     hash = "sha256-wmatI/rEMziBdNiA3HE3MJ0ckdpvsD+LdbB7SKOYdI0=";
13     stripRoot = false;
14   };
16   installPhase = ''
17     runHook preInstall
18     mkdir -p $out/share/windows/mimikatz
19     cp -a * $out/share/windows/mimikatz/
20     runHook postInstall
21   '';
23   meta = {
24     homepage = "https://github.com/gentilkiwi/mimikatz";
25     description = "Little tool to play with Windows security";
26     license = with lib.licenses; [ cc-by-40 ];
27     maintainers = with lib.maintainers; [ d3vil0p3r ];
28     platforms = lib.platforms.all;
29     sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
30   };