Merge pull request #305390 from r-ryantm/auto-update/keepwn

keepwn: 0.3 -> 0.4
This commit is contained in:
Fabian Affolter 2024-04-20 12:03:02 +02:00 committed by GitHub
commit c89db12b30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,26 +1,25 @@
{ lib {
, stdenv lib,
, fetchFromGitHub stdenv,
, python3 fetchFromGitHub,
python3,
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "keepwn"; pname = "keepwn";
version = "0.3"; version = "0.4";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Orange-Cyberdefense"; owner = "Orange-Cyberdefense";
repo = "KeePwn"; repo = "KeePwn";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-haKWuoTtyC9vIise+gznruHEwMIDz1W6euihLLKnSdc="; hash = "sha256-AkqBC65XrMt4V5KgzLepnQoqpdvbrtWLY3DmVuy8Zck=";
}; };
nativeBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [ setuptools ];
setuptools
];
propagatedBuildInputs = with python3.pkgs; [ dependencies = with python3.pkgs; [
chardet chardet
impacket impacket
lxml lxml
@ -37,16 +36,14 @@ python3.pkgs.buildPythonApplication rec {
# Project has no tests # Project has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [ "keepwn" ];
"keepwn"
];
meta = with lib; { meta = with lib; {
description = "Tool to automate KeePass discovery and secret extraction"; description = "Tool to automate KeePass discovery and secret extraction";
mainProgram = "keepwn";
homepage = "https://github.com/Orange-Cyberdefense/KeePwn"; homepage = "https://github.com/Orange-Cyberdefense/KeePwn";
changelog = "https://github.com/Orange-Cyberdefense/KeePwn/releases/tag/${version}"; changelog = "https://github.com/Orange-Cyberdefense/KeePwn/releases/tag/${version}";
license = licenses.gpl3Only; license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
mainProgram = "keepwn";
}; };
} }