truffleHog: rename GitPython

This commit is contained in:
Fabian Affolter 2022-12-05 20:13:49 +01:00
parent b8ee16d6c7
commit fdbefaab1d

View File

@ -1,4 +1,6 @@
{ lib, python3Packages }:
{ lib
, python3Packages
}:
let
truffleHogRegexes = python3Packages.buildPythonPackage rec {
@ -16,7 +18,7 @@ in
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-fw0JyM2iqQrkL4FAXllEozJdkKWELS3eAURx5NZcceQ=";
hash = "sha256-fw0JyM2iqQrkL4FAXllEozJdkKWELS3eAURx5NZcceQ=";
};
# Relax overly restricted version constraint
@ -24,15 +26,18 @@ in
substituteInPlace setup.py --replace "GitPython ==" "GitPython >= "
'';
propagatedBuildInputs = [ python3Packages.GitPython truffleHogRegexes ];
propagatedBuildInputs = [
python3Packages.gitpython
truffleHogRegexes
];
# Test cases run git clone and require network access
doCheck = false;
meta = {
meta = with lib; {
homepage = "https://github.com/dxa4481/truffleHog";
description = "Searches through git repositories for high entropy strings and secrets, digging deep into commit history";
license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ bhipple ];
license = with licenses; [ gpl2 ];
maintainers = with maintainers; [ bhipple ];
};
}