python37Packages.cryptography: 2.5 -> 2.6.1

Changelog:
https://cryptography.io/en/latest/changelog/#v2-6-1

Important changes:
- BACKWARDS INCOMPATIBLE: Removed
  cryptography.hazmat.primitives.asymmetric.utils.encode_rfc6979_signature
  and
  cryptography.hazmat.primitives.asymmetric.utils.decode_rfc6979_signature,
  which had been deprecated for nearly 4 years. Use
  encode_dss_signature() and decode_dss_signature() instead.
- BACKWARDS INCOMPATIBLE: Removed cryptography.x509.Certificate.serial,
  which had been deprecated for nearly 3 years. Use serial_number
  instead.
This commit is contained in:
Michael Weiss 2019-03-02 12:11:33 +01:00
parent 22714ad6d0
commit 047af233cd
No known key found for this signature in database
GPG key ID: 5BE487C4D4771D83
2 changed files with 3 additions and 3 deletions

View file

@ -21,11 +21,11 @@
buildPythonPackage rec {
pname = "cryptography";
version = "2.5"; # Also update the hash in vectors.nix
version = "2.6.1"; # Also update the hash in vectors.nix
src = fetchPypi {
inherit pname version;
sha256 = "00c4d7gvsymlaw0r13zrm32dcnarmpayjyrh65yymlmr6mrbcij9";
sha256 = "19iwz5avym5zl6jrrrkym1rdaa9h61j20ph4cswsqgv8xg5j3j16";
};
outputs = [ "out" "dev" ];

View file

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