mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
434a0111f6
Backwards incompatible changes: - Removed support for passing an Extension instance to from_issuer_subject_key_identifier(), as per our deprecation policy. - Support for LibreSSL 2.7.x, 2.8.x, and 2.9.0 has been removed (2.9.1+ is still supported). - Dropped support for macOS 10.9, macOS users must upgrade to 10.10 or newer. - RSA generate_private_key() no longer accepts public_exponent values except 65537 and 3 (the latter for legacy purposes). - X.509 certificate parsing now enforces that the version field contains a valid value, rather than deferring this check until version is accessed. Deprecations: - Deprecated support for Python 2. At the time there is no time table for actually dropping support, however we strongly encourage all users to upgrade their Python, as Python 2 no longer receives support from the Python core team.
24 lines
725 B
Nix
24 lines
725 B
Nix
{ buildPythonPackage, fetchPypi, lib, cryptography }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cryptography_vectors";
|
|
# The test vectors must have the same version as the cryptography package:
|
|
version = cryptography.version;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0fa26ggksyhknb43cja1g0jwp35qkdbavivdq6yynj1igd2z1vsj";
|
|
};
|
|
|
|
# No tests included
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Test vectors for the cryptography package";
|
|
homepage = "https://cryptography.io/en/latest/development/test-vectors/";
|
|
# Source: https://github.com/pyca/cryptography/tree/master/vectors;
|
|
license = with licenses; [ asl20 bsd3 ];
|
|
maintainers = with maintainers; [ primeos ];
|
|
};
|
|
}
|