8 python3.pkgs.buildPythonApplication rec {
13 src = fetchFromGitHub {
14 owner = "Orange-Cyberdefense";
16 rev = "refs/tags/${version}";
17 hash = "sha256-AkqBC65XrMt4V5KgzLepnQoqpdvbrtWLY3DmVuy8Zck=";
20 build-system = with python3.pkgs; [ setuptools ];
22 dependencies = with python3.pkgs; [
32 postInstall = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
33 mv $out/bin/KeePwn $out/bin/$pname
36 # Project has no tests
39 pythonImportsCheck = [ "keepwn" ];
42 description = "Tool to automate KeePass discovery and secret extraction";
43 homepage = "https://github.com/Orange-Cyberdefense/KeePwn";
44 changelog = "https://github.com/Orange-Cyberdefense/KeePwn/releases/tag/${version}";
45 license = licenses.gpl3Only;
46 maintainers = with maintainers; [ fab ];
47 mainProgram = "keepwn";