From c58c918462ed71b7d645f3c5198c1da2bfca0773 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 28 Dec 2025 21:49:09 +0100 Subject: [PATCH] spearspray: init at 2.0.0-unstable-2025-08-25 Tool for doing Password Spraying with User Intelligence https://github.com/sikumy/spearspray --- pkgs/by-name/sp/spearspray/package.nix | 45 ++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 pkgs/by-name/sp/spearspray/package.nix diff --git a/pkgs/by-name/sp/spearspray/package.nix b/pkgs/by-name/sp/spearspray/package.nix new file mode 100644 index 000000000000..6ed536a4af2f --- /dev/null +++ b/pkgs/by-name/sp/spearspray/package.nix @@ -0,0 +1,45 @@ +{ + lib, + python3, + fetchFromGitHub, +}: + +python3.pkgs.buildPythonApplication { + pname = "spearspray"; + version = "2.0.0-unstable-2025-08-25"; + pyproject = true; + + src = fetchFromGitHub { + owner = "sikumy"; + repo = "spearspray"; + rev = "bccb64fb672e503d2c8bf8997feb46b5ed60f3d1"; + hash = "sha256-6CSVWUOdpv7GyD8qoTbQAqqf6GHitifsV0n5GOuFawU="; + }; + + pythonRelaxDeps = [ "neo4j" ]; + + build-system = with python3.pkgs; [ poetry-core ]; + + dependencies = with python3.pkgs; [ + argcomplete + colorama + gssapi + ldap3 + neo4j + questionary + unidecode + ]; + + pythonImportsCheck = [ "spearspray" ]; + + # Project has no tests + doCheck = false; + + meta = { + description = "Tool for doing Password Spraying with User Intelligence"; + homepage = "https://github.com/sikumy/spearspray"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ fab ]; + mainProgram = "spearspray"; + }; +}