2019-03-02 10:31:30 +01:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, cryptography }:
|
2018-02-03 11:35:57 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cryptography_vectors";
|
2019-03-02 10:31:30 +01:00
|
|
|
# The test vectors must have the same version as the cryptography package:
|
|
|
|
version = cryptography.version;
|
2018-02-03 11:35:57 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-18 13:13:01 +02:00
|
|
|
sha256 = "05pi3shqz0fgvy0d5yazza67bbnam8fkrx2ayrrclgkaqms23lvc";
|
2018-02-03 11:35:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
2019-01-24 11:57:32 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
2019-01-14 16:05:59 +01:00
|
|
|
}
|