2019-03-02 10:31:30 +01:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, cryptography }:
|
2018-02-03 11:35:57 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-03-23 06:14:53 +01:00
|
|
|
pname = "cryptography-vectors";
|
|
|
|
# The test vectors must have the same version as the cryptography package
|
2022-03-23 06:54:10 +01:00
|
|
|
inherit (cryptography) version;
|
2022-12-30 17:23:48 +01:00
|
|
|
format = "setuptools";
|
2018-02-03 11:35:57 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2022-03-23 06:14:53 +01:00
|
|
|
pname = "cryptography_vectors";
|
|
|
|
inherit version;
|
2022-12-04 11:34:24 +01:00
|
|
|
hash = "sha256-bsYmlb7F34ECiN3OrpmK5pHNuKFigI1svJYNPeuafbE=";
|
2018-02-03 11:35:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
2019-01-24 11:57:32 +01:00
|
|
|
|
2022-03-23 06:11:13 +01:00
|
|
|
pythonImportsCheck = [ "cryptography_vectors" ];
|
|
|
|
|
2019-01-24 11:57:32 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Test vectors for the cryptography package";
|
2020-04-03 15:36:19 +02:00
|
|
|
homepage = "https://cryptography.io/en/latest/development/test-vectors/";
|
2019-01-24 11:57:32 +01:00
|
|
|
# Source: https://github.com/pyca/cryptography/tree/master/vectors;
|
|
|
|
license = with licenses; [ asl20 bsd3 ];
|
2022-03-26 14:55:58 +01:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2019-01-24 11:57:32 +01:00
|
|
|
};
|
2019-01-14 16:05:59 +01:00
|
|
|
}
|