From 22c5a89ecd435fa33e1ef90d4696e8449885f48a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 3 Jul 2026 19:47:29 +0200 Subject: [PATCH] credspy: init at 1.0.0-unstable-2026-06-22 Entra ID user enumeration and auth method discovery https://github.com/RedByte1337/CredSpy --- pkgs/by-name/cr/credspy/package.nix | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pkgs/by-name/cr/credspy/package.nix diff --git a/pkgs/by-name/cr/credspy/package.nix b/pkgs/by-name/cr/credspy/package.nix new file mode 100644 index 000000000000..f964103921ab --- /dev/null +++ b/pkgs/by-name/cr/credspy/package.nix @@ -0,0 +1,41 @@ +{ + lib, + python3Packages, + fetchFromGitHub, + nix-update-script, +}: + +python3Packages.buildPythonApplication (finalAttrs: { + pname = "credspy"; + version = "1.0.0-unstable-2026-06-22"; + pyproject = true; + + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "RedByte1337"; + repo = "CredSpy"; + # https://github.com/RedByte1337/CredSpy/issues/2 + rev = "0fa54595fd6e5d1f903d8d248a7e9f3203e7ec09"; + hash = "sha256-PHSLke90obZw2cwY7zqp1DNnG26Hf+ixHunMwQHoU3o="; + }; + + build-system = with python3Packages; [ hatchling ]; + + dependencies = with python3Packages; [ requests ]; + + pythonImportsCheck = [ "credspy" ]; + + # Project has no tests + doCheck = false; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Entra ID user enumeration and auth method discovery"; + homepage = "https://github.com/RedByte1337/CredSpy"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ fab ]; + mainProgram = "credspy"; + }; +})