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 = "1yhaps0f3h2yjb6lmz953z1l1d84y9swk4k3gj9nqyk4vbx5m7cc"; 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}