deepsecrets: refactor

This commit is contained in:
Fabian Affolter
2025-05-19 19:31:38 +02:00
parent f340e1b51f
commit 51f6d18c05
+5 -11
View File
@@ -22,9 +22,7 @@ python3.pkgs.buildPythonApplication rec {
"mmh3"
];
build-system = with python3.pkgs; [
poetry-core
];
build-system = with python3.pkgs; [ poetry-core ];
dependencies = with python3.pkgs; [
dotwiz
@@ -36,13 +34,7 @@ python3.pkgs.buildPythonApplication rec {
regex
];
pythonImportsCheck = [
"deepsecrets"
];
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
];
nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
disabledTests = [
# assumes package is built in /app (docker?), and not /build/${src.name} (nix sandbox)
@@ -51,12 +43,14 @@ python3.pkgs.buildPythonApplication rec {
"test_basic_info"
];
pythonImportsCheck = [ "deepsecrets" ];
meta = {
description = "Secrets scanner that understands code";
mainProgram = "deepsecrets";
homepage = "https://github.com/avito-tech/deepsecrets";
changelog = "https://github.com/avito-tech/deepsecrets/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "deepsecrets";
};
}