Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, blasthttp, buildPythonPackage, colorama, django, fetchFromGitHub, flask-unsign, hatchling, pycryptodome, pyjwt, requests, yara-python,}:
buildPythonPackage (finalAttrs: { pname = "badsecrets"; version = "1.3.0"; pyproject = true;
src = fetchFromGitHub { owner = "blacklanternsecurity"; repo = "badsecrets"; tag = finalAttrs.version; hash = "sha256-bnN5Q5OfNxNPS7SBuRU7gSSaw08voL+KRERi0paP288="; };
pythonRelaxDeps = [ "django" "pyjwt" ];
build-system = [ hatchling ];
dependencies = [ blasthttp colorama django flask-unsign pycryptodome pyjwt requests yara-python ] ++ pyjwt.optional-dependencies.crypto;
pythonImportsCheck = [ "badsecrets" ];
meta = { description = "Module for detecting known secrets across many web frameworks"; homepage = "https://github.com/blacklanternsecurity/badsecrets"; changelog = "https://github.com/blacklanternsecurity/badsecrets/releases/tag/${finalAttrs.src.tag}"; license = with lib.licenses; [ agpl3Only gpl3Only ]; maintainers = with lib.maintainers; [ fab ]; };})