python3Packages.cryptography: 3.4.2 -> 36.0.0 (#150320)

* python3Packages.cryptography: 3.4.8 -> 36.0.0

* python3Packages.python-miio: 0.5.8 -> 0.5.9.1
This commit is contained in:
Martin Weinelt 2021-12-25 22:57:43 +01:00 committed by GitHub
parent 5412bf7345
commit d23d17d703
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 12 deletions

View file

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

View file

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

View file

@ -24,22 +24,18 @@
buildPythonPackage rec {
pname = "python-miio";
version = "0.5.8";
disabled = pythonOlder "3.6";
version = "0.5.9.1";
disabled = pythonOlder "3.6.5";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-16XEah5rgem/L8A/zo1zPrifrU15VMk652rFLZcvjig=";
sha256 = "sha256-fWLN1mGSoB+H6YSwTYpx1fuXfkrHBgdRkhzDLbmMBcg=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'click = "^7"' 'click = "*"' \
--replace 'croniter = "^0"' 'croniter = "*"' \
--replace 'cryptography = "^3"' 'cryptography = "*"' \
--replace 'defusedxml = "^0.6"' 'defusedxml = "*"' \
--replace 'PyYAML = "^5"' 'PyYAML = "*"'
--replace 'defusedxml = "^0"' 'defusedxml = "*"' \
'';
nativeBuildInputs = [