python310Packages.cryptography: 39.0.1 -> 40.0.1

https://cryptography.io/en/latest/changelog/#v40-0-1
This commit is contained in:
Martin Weinelt 2023-04-06 00:16:22 +02:00
parent 37e8b04cc7
commit 5a5994d2ad
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 6 additions and 4 deletions

View file

@ -11,6 +11,7 @@
, six
, isPyPy
, cffi
, pkg-config
, pytestCheckHook
, pytest-benchmark
, pytest-subtests
@ -28,26 +29,27 @@ let
in
buildPythonPackage rec {
pname = "cryptography";
version = "39.0.1"; # Also update the hash in vectors.nix
version = "40.0.1"; # Also update the hash in vectors.nix
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-0fYZjubZFIQF5JiHgDkH/olioj5sb4PqfZjxwN43VpU=";
hash = "sha256-KAPy+LHpX2FEGZJsfm9V2CivxhTKXtYVQ4d65mjMNHI=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
sourceRoot = "${pname}-${version}/${cargoRoot}";
name = "${pname}-${version}";
hash = "sha256-0x+KIqJznDEyIUqVuYfIESKmHBWfzirPeX2R/cWlngc=";
hash = "sha256-gFfDTc2QWBWHBCycVH1dYlCsWQMVcRZfOBIau+njtDU=";
};
cargoRoot = "src/rust";
nativeBuildInputs = lib.optionals (!isPyPy) [
cffi
pkg-config
] ++ [
rustPlatform.cargoSetupHook
setuptools-rust

View file

@ -9,7 +9,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "cryptography_vectors";
inherit version;
hash = "sha256-DLrrUL2388nXqTsmoEYu9ul8doynjZAoVP4EXDC2gMY=";
hash = "sha256-hGBwa1tdDOSoVXHKM4nPiPcAu2oMYTPcn+D1ovW9oEE=";
};
# No tests included