2019-03-02 09:31:30 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, cryptography }:
|
2018-02-03 10:35:57 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cryptography_vectors";
|
2019-03-02 09:31:30 +00:00
|
|
|
# The test vectors must have the same version as the cryptography package:
|
|
|
|
version = cryptography.version;
|
2018-02-03 10:35:57 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-29 16:16:12 +00:00
|
|
|
sha256 = "12dq1grn0bjj7c6sj6apd6328525n7xq4kbbmww63sn3x7081vls";
|
2018-02-03 10:35:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
2019-01-24 10:57:32 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Test vectors for the cryptography package";
|
2020-04-03 14:36:19 +01:00
|
|
|
homepage = "https://cryptography.io/en/latest/development/test-vectors/";
|
2019-01-24 10:57:32 +00:00
|
|
|
# Source: https://github.com/pyca/cryptography/tree/master/vectors;
|
|
|
|
license = with licenses; [ asl20 bsd3 ];
|
|
|
|
maintainers = with maintainers; [ primeos ];
|
|
|
|
};
|
2019-01-14 15:05:59 +00:00
|
|
|
}
|