File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments