Merge #270452: python3Packages.cryptography: 41.0.3 -> 41.0.5

...into staging
This commit is contained in:
Vladimír Čunát 2023-12-01 07:23:54 +01:00
commit 5d463e2bea
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA
2 changed files with 7 additions and 6 deletions

View file

@ -29,20 +29,21 @@ let
in in
buildPythonPackage rec { buildPythonPackage rec {
pname = "cryptography"; pname = "cryptography";
version = "41.0.3"; # Also update the hash in vectors.nix version = "41.0.7"; # Also update the hash in vectors.nix
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-bRknQRE+9eMNidy1uVbvThV48wRwhwG4tz044+FGHzQ="; hash = "sha256-E/k86b6oAWwlOzSvxr1qdZk+XEBnLtVAWpyDLw1KALw=";
}; };
cargoDeps = rustPlatform.fetchCargoTarball { cargoDeps = rustPlatform.fetchCargoTarball {
inherit src; inherit src;
sourceRoot = "${pname}-${version}/${cargoRoot}"; sourceRoot = "${pname}-${version}/${cargoRoot}";
name = "${pname}-${version}"; name = "${pname}-${version}";
hash = "sha256-LQu7waympGUs+CZun2yDQd2gUUAgyisKBG5mddrfSo0="; hash = "sha256-VeZhKisCPDRvmSjGNwCgJJeVj65BZ0Ge+yvXbZw86Rw=";
}; };
postPatch = '' postPatch = ''

View file

@ -9,12 +9,12 @@ buildPythonPackage rec {
pname = "cryptography-vectors"; pname = "cryptography-vectors";
# The test vectors must have the same version as the cryptography package # The test vectors must have the same version as the cryptography package
inherit (cryptography) version; inherit (cryptography) version;
format = "pyproject"; pyproject = true;
src = fetchPypi { src = fetchPypi {
pname = "cryptography_vectors"; pname = "cryptography_vectors";
inherit version; inherit version;
hash = "sha256-gN4EUsSzT1b1UY6B69dba5BfVyiq7VIdQuQfTryKQ/s="; hash = "sha256-ezb5drbljMGAExDhyTxYTGU503Haf4U47dj8Rj3IDVs=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [