summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pycryptodome/vectors.nix
blob: 745c83cca08c16c35ebf6f4764c62a93e34e46df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pycryptodome-test-vectors";
  version = "1.0.14";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-1De0SjXcr8BibDVhv7G1BqG3x0RcxfudNuI3QWG8mjc=";
    extension = "zip";
  };

  nativeBuildInputs = [ setuptools ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "pycryptodome_test_vectors" ];

  meta = {
    description = "Test vectors for PyCryptodome cryptographic library";
    homepage = "https://www.pycryptodome.org/";
    license = with lib.licenses; [
      bsd2 # and
      asl20
    ];
    maintainers = with lib.maintainers; [ fab ];
  };
}