python313Packages.badsecrets: relax django (#481744)

This commit is contained in:
Fabian Affolter
2026-01-19 21:22:39 +00:00
committed by GitHub
@@ -13,7 +13,7 @@
viewstate,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "badsecrets";
version = "0.13.47";
pyproject = true;
@@ -21,10 +21,15 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "blacklanternsecurity";
repo = "badsecrets";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-Yvd9AGbVDOfXep8y+XzwYP2EpTvy+rwyz5hRIe7v4oc=";
};
pythonRelaxDeps = [
"django"
"viewstate"
];
build-system = [
poetry-core
poetry-dynamic-versioning
@@ -40,18 +45,16 @@ buildPythonPackage rec {
viewstate
];
pythonRelaxDeps = [ "viewstate" ];
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/${src.tag}";
changelog = "https://github.com/blacklanternsecurity/badsecrets/releases/tag/${finalAttrs.src.tag}";
license = with lib.licenses; [
agpl3Only
gpl3Only
];
maintainers = with lib.maintainers; [ fab ];
};
}
})