From 4561bf0464c55d4871ca7d32042bf8f2ec81cad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 1 Jun 2022 20:21:07 +0200 Subject: [PATCH] python310Packages.cryptography: 36.0.2 -> 37.0.2 --- .../python-modules/cryptography/default.nix | 10 +++++++--- .../python-modules/cryptography/vectors.nix | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/cryptography/default.nix b/pkgs/development/python-modules/cryptography/default.nix index b4048366ed54..08314f71308e 100644 --- a/pkgs/development/python-modules/cryptography/default.nix +++ b/pkgs/development/python-modules/cryptography/default.nix @@ -12,7 +12,9 @@ , isPyPy , cffi , pytestCheckHook +, pytest-benchmark , pytest-subtests +, pythonOlder , pretend , libiconv , iso8601 @@ -25,18 +27,19 @@ let in buildPythonPackage rec { pname = "cryptography"; - version = "36.0.2"; # Also update the hash in vectors.nix + version = "37.0.2"; # Also update the hash in vectors.nix + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-cPj097sqyfNAZVy6yJ1oxSevW7Q4dSKoQT6EHj5mKMk="; + sha256 = "sha256-8iStJTzJzqdWj0kHcAfSJj76VzlqLy94EUBm/VS1xo4="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; sourceRoot = "${pname}-${version}/${cargoRoot}"; name = "${pname}-${version}"; - sha256 = "sha256-6C4N445h4Xf2nCc9rJWpSZaNPilR9GfgbmKvNlSIFqg="; + sha256 = "sha256-qvrxvneoBXjP96AnUPyrtfmCnZo+IriHR5HbtWQ5Gk8="; }; cargoRoot = "src/rust"; @@ -63,6 +66,7 @@ buildPythonPackage rec { iso8601 pretend pytestCheckHook + pytest-benchmark pytest-subtests pytz ]; diff --git a/pkgs/development/python-modules/cryptography/vectors.nix b/pkgs/development/python-modules/cryptography/vectors.nix index 993720907265..d2c2beb9aba6 100644 --- a/pkgs/development/python-modules/cryptography/vectors.nix +++ b/pkgs/development/python-modules/cryptography/vectors.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "cryptography_vectors"; inherit version; - sha256 = "sha256-KnkkRJoDAl+vf4dUpvQgAAHKshBzSmzmrB9r2s06aOQ="; + sha256 = "sha256-fGXT3lF1b0GBQt9gVBfsLG6WHDZPcMyKEDAwiJ1aMhk="; }; # No tests included