Merge pull request #319556 from fabaff/conpass

conpass: init at 0.1.2
This commit is contained in:
Fabian Affolter 2024-06-14 09:33:16 +02:00 committed by GitHub
commit 4110c547c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,42 @@
{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "conpass";
version = "0.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "login-securite";
repo = "conpass";
rev = "refs/tags/v${version}";
hash = "sha256-7o4aQ6qpaWimWqgFO35Wht7mQsdVezoPTm7hp54FWR8=";
};
build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
impacket
python-ldap
rich
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "conpass" ];
meta = with lib; {
description = "Continuous password spraying tool";
homepage = "https://github.com/login-securite/conpass";
changelog = "https://github.com/login-securite/conpass/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "conpass";
};
}