Merge pull request #303464 from fabaff/bc-detect-secrets-bump

python312Packages.bc-detect-secrets: 1.5.5 -> 1.5.6
This commit is contained in:
Fabian Affolter 2024-05-04 20:07:21 +02:00 committed by GitHub
commit 86d31b5253
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,22 +1,23 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, gibberish-detector
, mock
, pkgs
, pyahocorasick
, pytestCheckHook
, pythonOlder
, pyyaml
, requests
, responses
, setuptools
, unidiff
{
lib,
buildPythonPackage,
fetchFromGitHub,
gibberish-detector,
mock,
pkgs,
pyahocorasick,
pytestCheckHook,
pythonOlder,
pyyaml,
requests,
responses,
setuptools,
unidiff,
}:
buildPythonPackage rec {
pname = "bc-detect-secrets";
version = "1.5.5";
version = "1.5.9";
pyproject = true;
disabled = pythonOlder "3.8";
@ -25,12 +26,10 @@ buildPythonPackage rec {
owner = "bridgecrewio";
repo = "detect-secrets";
rev = "refs/tags/${version}";
hash = "sha256-05hxc34ecSoAp0GBVf9yq2BC928wxZOLZJHAbJ7cdtk=";
hash = "sha256-3O1taxOxVI+36h2Qz+dzOuilmapm9QO4X4XjRgX4kUc=";
};
build-system = [
setuptools
];
build-system = [ setuptools ];
dependencies = [
pyyaml
@ -39,12 +38,8 @@ buildPythonPackage rec {
];
passthru.optional-dependencies = {
word_list = [
pyahocorasick
];
gibberish = [
gibberish-detector
];
word_list = [ pyahocorasick ];
gibberish = [ gibberish-detector ];
};
nativeCheckInputs = [
@ -71,9 +66,7 @@ buildPythonPackage rec {
"TestModifiesBaselineFromVersionChange"
];
pythonImportsCheck = [
"detect_secrets"
];
pythonImportsCheck = [ "detect_secrets" ];
meta = with lib; {
description = "Tool to detect secrets in the code";
@ -82,4 +75,3 @@ buildPythonPackage rec {
maintainers = with maintainers; [ fab ];
};
}