Skip to content

Commit

Permalink
tartufo: init at 5.0.1 (#342480)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Sep 17, 2024
2 parents db4b8a1 + ed88914 commit 2884e15
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions pkgs/by-name/ta/tartufo/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
lib,
python3,
fetchFromGitHub,
}:

python3.pkgs.buildPythonApplication rec {
pname = "tartufo";
version = "5.0.1";
pyproject = true;

src = fetchFromGitHub {
owner = "godaddy";
repo = "tartufo";
rev = "refs/tags/v${version}";
hash = "sha256-mwwenmSCxnzD2DLf1a/dsQjwJ2GetMgRGj/noqWJ/E0=";
};

pythonRelaxDeps = [ "tomlkit" ];

build-system = with python3.pkgs; [ poetry-core ];

dependencies = with python3.pkgs; [
cached-property
click
colorama
gitpython
pygit2
tomlkit
];

pythonImportsCheck = [ "tartufo" ];

meta = {
description = "Tool to search through git repositories for high entropy strings and secrets";
homepage = "https://github.com/godaddy/tartufo";
changelog = "https://github.com/godaddy/tartufo/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "tartufo";
};
}

0 comments on commit 2884e15

Please sign in to comment.