tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
deepsecrets: modernize, enable tests
Peder Bergebakken Sundt
11 months ago
b635bc75
87214855
+16
-5
1 changed file
expand all
collapse all
unified
split
pkgs
tools
security
deepsecrets
default.nix
+16
-5
pkgs/tools/security/deepsecrets/default.nix
reviewed
···
22
22
"mmh3"
23
23
];
24
24
25
25
-
nativeBuildInputs = with python3.pkgs; [
25
25
+
build-system = with python3.pkgs; [
26
26
poetry-core
27
27
];
28
28
29
29
-
propagatedBuildInputs = with python3.pkgs; [
29
29
+
dependencies = with python3.pkgs; [
30
30
dotwiz
31
31
mmh3
32
32
ordered-set
···
40
40
"deepsecrets"
41
41
];
42
42
43
43
-
meta = with lib; {
43
43
+
nativeCheckInputs = with python3.pkgs; [
44
44
+
pytestCheckHook
45
45
+
];
46
46
+
47
47
+
disabledTests = [
48
48
+
# assumes package is built in /app (docker?), and not /build/${src.name} (nix sandbox)
49
49
+
"test_1_cli"
50
50
+
"test_config"
51
51
+
"test_basic_info"
52
52
+
];
53
53
+
54
54
+
meta = {
44
55
description = "Secrets scanner that understands code";
45
56
mainProgram = "deepsecrets";
46
57
homepage = "https://github.com/avito-tech/deepsecrets";
47
58
changelog = "https://github.com/avito-tech/deepsecrets/releases/tag/v${version}";
48
48
-
license = licenses.mit;
49
49
-
maintainers = with maintainers; [ fab ];
59
59
+
license = lib.licenses.mit;
60
60
+
maintainers = with lib.maintainers; [ fab ];
50
61
};
51
62
}