nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 24 lines 755 B view raw
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 pname = "cryptography_vectors"; 10 inherit version; 11 sha256 = "1yhaps0f3h2yjb6lmz953z1l1d84y9swk4k3gj9nqyk4vbx5m7cc"; 12 }; 13 14 # No tests included 15 doCheck = false; 16 17 meta = with lib; { 18 description = "Test vectors for the cryptography package"; 19 homepage = "https://cryptography.io/en/latest/development/test-vectors/"; 20 # Source: https://github.com/pyca/cryptography/tree/master/vectors; 21 license = with licenses; [ asl20 bsd3 ]; 22 maintainers = with maintainers; [ primeos ]; 23 }; 24}