mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 22:04:20 +00:00
python310Packages.cryptography: 36.0.2 -> 37.0.2
This commit is contained in:
parent
055e0f9147
commit
4561bf0464
@ -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
|
||||
];
|
||||
|
@ -8,7 +8,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "cryptography_vectors";
|
||||
inherit version;
|
||||
sha256 = "sha256-KnkkRJoDAl+vf4dUpvQgAAHKshBzSmzmrB9r2s06aOQ=";
|
||||
sha256 = "sha256-fGXT3lF1b0GBQt9gVBfsLG6WHDZPcMyKEDAwiJ1aMhk=";
|
||||
};
|
||||
|
||||
# No tests included
|
||||
|
Loading…
Reference in New Issue
Block a user