Merge pull request #140024 from cpcloud/bump-cryptography

This commit is contained in:
Sandro 2021-10-05 10:00:24 +02:00 committed by GitHub
commit f202da9cb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -23,18 +23,18 @@
buildPythonPackage rec {
pname = "cryptography";
version = "3.4.8"; # Also update the hash in vectors.nix
version = "35.0.0"; # Also update the hash in vectors.nix
src = fetchPypi {
inherit pname version;
sha256 = "072awar70cwfd2hnx0pvp1dkc7gw45mbm3wcyddvxz5frva5xk4l";
sha256 = "0v88w3rpspnzkffla5clqkm98854vmk63qvxpn37clfhf27z4cwr";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
sourceRoot = "${pname}-${version}/${cargoRoot}";
name = "${pname}-${version}";
sha256 = "01h511h6l4qvjxbaw662m1l84pb4wrhwxmnb3qj6ik13mx2m477m";
sha256 = "1ck0cyv8zw7xixifx2lm510cvwlgf9f60fmgg608l0lkixz102mm";
};
cargoRoot = "src/rust";

View file

@ -7,7 +7,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "1wl0ynh3lzhc6q59g8mybvijmnp195x7fjxlb3h3sgcraw14312c";
sha256 = "1z3vjms5w5vp0b3zl35mcwfypngvxaq7w66qlfh0gq6049ldk2lp";
};
# No tests included

View file

@ -37,6 +37,7 @@ buildPythonPackage rec {
substituteInPlace pyproject.toml \
--replace 'click = "^7"' 'click = "*"' \
--replace 'croniter = "^0"' 'croniter = "*"' \
--replace 'cryptography = "^3"' 'cryptography = "*"' \
--replace 'defusedxml = "^0.6"' 'defusedxml = "*"'
'';
@ -74,4 +75,3 @@ buildPythonPackage rec {
maintainers = with maintainers; [ flyfloh ];
};
}