1{ buildPythonPackage, fetchPypi, lib, cryptography }:
2
3buildPythonPackage rec {
4 pname = "cryptography_vectors";
5 # The test vectors must have the same version as the cryptography package:
6 version = cryptography.version;
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "1wl0ynh3lzhc6q59g8mybvijmnp195x7fjxlb3h3sgcraw14312c";
11 };
12
13 # No tests included
14 doCheck = false;
15
16 meta = with lib; {
17 description = "Test vectors for the cryptography package";
18 homepage = "https://cryptography.io/en/latest/development/test-vectors/";
19 # Source: https://github.com/pyca/cryptography/tree/master/vectors;
20 license = with licenses; [ asl20 bsd3 ];
21 maintainers = with maintainers; [ primeos ];
22 };
23}