Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 23 lines 723 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 inherit pname version; 10 sha256 = "05pi3shqz0fgvy0d5yazza67bbnam8fkrx2ayrrclgkaqms23lvc"; 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}