mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 07:27:41 +00:00
truffleHog: rename GitPython
This commit is contained in:
parent
b8ee16d6c7
commit
fdbefaab1d
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user