depot/third_party/nixpkgs/pkgs/by-name/co/conpass/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

42 lines
889 B
Nix

{
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";
};
}