From cbe75de62ae462ac5a7f7cb06074a5233b7bb664 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 13 Jun 2024 14:32:47 +0200 Subject: [PATCH] conpass: init at 0.1.2 Continuous password spraying tool https://github.com/login-securite/conpass --- pkgs/by-name/co/conpass/package.nix | 42 +++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pkgs/by-name/co/conpass/package.nix diff --git a/pkgs/by-name/co/conpass/package.nix b/pkgs/by-name/co/conpass/package.nix new file mode 100644 index 000000000000..d8870a907541 --- /dev/null +++ b/pkgs/by-name/co/conpass/package.nix @@ -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"; + }; +}