Fabian Affolter
2024-05-03 19:33:46 +02:00
parent d6411ed8c6
commit f302741815
+13 -6
View File
@@ -6,24 +6,27 @@
python3.pkgs.buildPythonApplication rec {
pname = "ggshield";
version = "1.25.0";
version = "1.27.0";
pyproject = true;
src = fetchFromGitHub {
owner = "GitGuardian";
repo = "ggshield";
rev = "refs/tags/v${version}";
hash = "sha256-D6+0ZYuOiCy5LonP1Ob7PlWmBXvLwU3PODOT6F+70HY=";
hash = "sha256-esrDJar9J7V0ZIupfyURFWeGigV04Kxo06o/jMz17Fk=";
};
pythonRelaxDeps = true;
nativeBuildInputs = with python3.pkgs; [
pythonRelaxDepsHook
build-system = with python3.pkgs; [
setuptools
];
propagatedBuildInputs = with python3.pkgs; [
nativeBuildInputs = with python3.pkgs; [
pythonRelaxDepsHook
];
dependencies = with python3.pkgs; [
appdirs
charset-normalizer
click
@@ -59,6 +62,10 @@ python3.pkgs.buildPythonApplication rec {
disabledTestPaths = [
# Don't run functional tests
"tests/functional/"
"tests/unit/cmd/honeytoken"
"tests/unit/cmd/iac"
"tests/unit/cmd/sca/"
"tests/unit/cmd/scan/"
];
disabledTests = [
@@ -77,10 +84,10 @@ python3.pkgs.buildPythonApplication rec {
meta = with lib; {
description = "Tool to find and fix various types of hardcoded secrets and infrastructure-as-code misconfigurations";
mainProgram = "ggshield";
homepage = "https://github.com/GitGuardian/ggshield";
changelog = "https://github.com/GitGuardian/ggshield/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "ggshield";
};
}