diff options
Diffstat (limited to 'pkgs/development/python-modules/pycryptodome/vectors.nix')
-rw-r--r-- | pkgs/development/python-modules/pycryptodome/vectors.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pycryptodome/vectors.nix b/pkgs/development/python-modules/pycryptodome/vectors.nix new file mode 100644 index 0000000000000..f6a2b715ad916 --- /dev/null +++ b/pkgs/development/python-modules/pycryptodome/vectors.nix @@ -0,0 +1,30 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "pycryptodome-test-vectors"; + version = "1.0.8"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-3BTh7as4CikvVfUx2xBZlUOaq/dAQNNFHpuRxWg/5N0="; + extension = "zip"; + }; + + # Module has no tests + doCheck = false; + + pythonImportsCheck = [ + "pycryptodome_test_vectors" + ]; + + meta = with lib; { + description = "Test vectors for PyCryptodome cryptographic library"; + homepage = "https://www.pycryptodome.org/"; + license = with licenses; [ bsd2 /* and */ asl20 ]; + maintainers = with maintainers; [ fab ]; + }; +} |