about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pycryptodomex/default.nix
blob: 934c021ed9098c064a6d3c83c0822ff26a1f2a65 (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchPypi
, pycryptodome-test-vectors
}:

buildPythonPackage rec {
  pname = "pycryptodomex";
  version = "3.14.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-LOdu0Agf1qyMdO3HW50U7KIGQXOveYQ8JPpiVzJjwfI=";
  };

  pythonImportsCheck = [
    "Cryptodome"
  ];

  meta = with lib; {
    description = "A self-contained cryptographic library for Python";
    homepage = "https://www.pycryptodome.org";
    license = with licenses; [ bsd2 /* and */ asl20 ];
    maintainers = with maintainers; [ fab ];
  };
}