python313Packages.sigstore: 3.5.3 -> 3.6.1 (#374983)

This commit is contained in:
Gaétan Lepage
2025-01-24 10:53:17 +01:00
committed by GitHub
5 changed files with 77 additions and 9 deletions
@@ -33,6 +33,11 @@ buildPythonPackage rec {
hash = "sha256-ZuVq4WERXsRFUPNNTNp/eisWX1MyI7UtwqEI8X93wYI=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "poetry-core>=1.0.0,<2" "poetry-core"
'';
build-system = [ poetry-core ];
dependencies = [
@@ -78,7 +83,7 @@ buildPythonPackage rec {
"test_binary_compatibility"
];
meta = with lib; {
meta = {
description = "Code generator & library for Protobuf 3 and async gRPC";
mainProgram = "protoc-gen-python_betterproto";
longDescription = ''
@@ -88,7 +93,7 @@ buildPythonPackage rec {
'';
homepage = "https://github.com/danielgtaylor/python-betterproto";
changelog = "https://github.com/danielgtaylor/python-betterproto/blob/v.${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ nikstur ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nikstur ];
};
}
@@ -0,0 +1,52 @@
{
buildPythonPackage,
lib,
fetchFromGitHub,
perl,
cryptography,
rustPlatform,
pretend,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "rfc3161-client";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "trailofbits";
repo = "rfc3161-client";
tag = "v${version}";
hash = "sha256-fdNpM5fQnvwBgeL/adIb74pywtK6+8dLxc6kIVgCOCw=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit src pname;
hash = "sha256-jpysrco+dybMwiKOa21uLKqsOeYFFERL7XKND7gPwX8=";
};
nativeBuildInputs = [
rustPlatform.cargoSetupHook
rustPlatform.maturinBuildHook
perl
];
dependencies = [
cryptography
pretend
];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
homepage = "https://github.com/trailofbits/rfc3161-client";
maintainers = with lib.maintainers; [ bot-wxt1221 ];
license = lib.licenses.asl20;
platforms = lib.platforms.all;
changelog = "https://github.com/trailofbits/rfc3161-client/releases/tag/v${version}";
description = "Opinionated Python RFC3161 Client";
};
}
@@ -28,11 +28,14 @@ buildPythonPackage rec {
# Module has no tests
doCheck = false;
meta = with lib; {
meta = {
description = "Python models for Rekor's API types";
homepage = "https://github.com/trailofbits/sigstore-rekor-types";
changelog = "https://github.com/trailofbits/sigstore-rekor-types/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
fab
bot-wxt1221
];
};
}
@@ -19,6 +19,7 @@
securesystemslib,
sigstore-protobuf-specs,
sigstore-rekor-types,
rfc3161-client,
tuf,
rfc8785,
pyasn1,
@@ -27,7 +28,7 @@
buildPythonPackage rec {
pname = "sigstore-python";
version = "3.5.3";
version = "3.6.1";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -36,10 +37,13 @@ buildPythonPackage rec {
owner = "sigstore";
repo = "sigstore-python";
tag = "v${version}";
hash = "sha256-pAzS/LU5me3qoJo6EmuSFPDO/lqRDKIl5hjFiysWTdM=";
hash = "sha256-BdVX2LWCsMx9r0bDTJjMdrvy4Hqn6hrw9wAcub0nRMk=";
};
pythonRelaxDeps = [ "sigstore-rekor-types" ];
pythonRelaxDeps = [
"sigstore-rekor-types"
"rfc3161-client"
];
build-system = [ flit-core ];
@@ -53,6 +57,7 @@ buildPythonPackage rec {
pyopenssl
pyasn1
rfc8785
rfc3161-client
platformdirs
requests
rich
@@ -88,6 +93,7 @@ buildPythonPackage rec {
"test_trust_root_bundled_get"
"test_fix_bundle_upgrades_bundle"
"test_trust_root_tuf_caches_and_requests"
"test_regression_verify_legacy_bundle"
];
passthru.updateScript = nix-update-script { };
+2
View File
@@ -14144,6 +14144,8 @@ self: super: with self; {
reverse-geocode = callPackage ../development/python-modules/reverse-geocode { };
rfc3161-client = callPackage ../development/python-modules/rfc3161-client { };
rfc3339 = callPackage ../development/python-modules/rfc3339 { };
rfc3339-validator = callPackage ../development/python-modules/rfc3339-validator { };