ggshield: 1.45.0 -> 1.50.4 (#518846)

This commit is contained in:
Fabian Affolter
2026-05-13 07:31:28 +00:00
committed by GitHub
2 changed files with 31 additions and 8 deletions
+27 -6
View File
@@ -5,28 +5,48 @@
python3,
}:
python3.pkgs.buildPythonApplication (finalAttrs: {
let
py = python3.override {
packageOverrides = self: super: {
# Doesn't support latest marshmallow
marshmallow = super.marshmallow.overridePythonAttrs (oldAttrs: rec {
version = "3.26.2";
src = fetchFromGitHub {
owner = "marshmallow-code";
repo = "marshmallow";
tag = version;
hash = "sha256-ioe+aZHOW8r3wF3UknbTjAP0dEggd/NL9PTkPVQ46zM=";
};
});
};
};
in
py.pkgs.buildPythonApplication (finalAttrs: {
pname = "ggshield";
version = "1.45.0";
version = "1.50.4";
pyproject = true;
src = fetchFromGitHub {
owner = "GitGuardian";
repo = "ggshield";
tag = "v${finalAttrs.version}";
hash = "sha256-9UjdAnDcUxs/2pdhnJYncw2NBPiLpxUL5T74qbX5AcY=";
hash = "sha256-wwGj7i1GoxNzdfUhcL7mulgQAPtz5WhbT67hgbcMxpo=";
};
pythonRelaxDeps = true;
build-system = with python3.pkgs; [ pdm-backend ];
build-system = with py.pkgs; [ hatchling ];
dependencies = with python3.pkgs; [
dependencies = with py.pkgs; [
charset-normalizer
click
cryptography
keyring
marshmallow
marshmallow-dataclass
notify-py
oauthlib
platformdirs
pygitguardian
@@ -35,6 +55,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
pyyaml
requests
rich
sigstore
truststore
typing-extensions
urllib3
@@ -43,7 +64,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
nativeCheckInputs = [
git
]
++ (with python3.pkgs; [
++ (with py.pkgs; [
jsonschema
pyfakefs
pytest-factoryboy
@@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "pygitguardian";
version = "1.28.0";
version = "1.30.0";
pyproject = true;
src = fetchFromGitHub {
owner = "GitGuardian";
repo = "py-gitguardian";
tag = "v${version}";
hash = "sha256-56Z0peJcjBbNX51MLLaIKcD9Qg+5q+5I0gKRu84/8TM=";
hash = "sha256-8kKTqthpkH3A5secb8TqbM+/twA77R81y80MOPNQZPA=";
};
pythonRelaxDeps = [
@@ -56,5 +56,7 @@ buildPythonPackage rec {
changelog = "https://github.com/GitGuardian/py-gitguardian/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
# https://github.com/GitGuardian/py-gitguardian/issues/167
broken = lib.versionAtLeast marshmallow.version "4";
};
}