Skip to content

Commit 2884e15

Browse files
authored
tartufo: init at 5.0.1 (#342480)
2 parents db4b8a1 + ed88914 commit 2884e15

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
lib,
3+
python3,
4+
fetchFromGitHub,
5+
}:
6+
7+
python3.pkgs.buildPythonApplication rec {
8+
pname = "tartufo";
9+
version = "5.0.1";
10+
pyproject = true;
11+
12+
src = fetchFromGitHub {
13+
owner = "godaddy";
14+
repo = "tartufo";
15+
rev = "refs/tags/v${version}";
16+
hash = "sha256-mwwenmSCxnzD2DLf1a/dsQjwJ2GetMgRGj/noqWJ/E0=";
17+
};
18+
19+
pythonRelaxDeps = [ "tomlkit" ];
20+
21+
build-system = with python3.pkgs; [ poetry-core ];
22+
23+
dependencies = with python3.pkgs; [
24+
cached-property
25+
click
26+
colorama
27+
gitpython
28+
pygit2
29+
tomlkit
30+
];
31+
32+
pythonImportsCheck = [ "tartufo" ];
33+
34+
meta = {
35+
description = "Tool to search through git repositories for high entropy strings and secrets";
36+
homepage = "https://github.com/godaddy/tartufo";
37+
changelog = "https://github.com/godaddy/tartufo/blob/${src.rev}/CHANGELOG.md";
38+
license = lib.licenses.gpl2Only;
39+
maintainers = with lib.maintainers; [ fab ];
40+
mainProgram = "tartufo";
41+
};
42+
}

0 commit comments

Comments
 (0)