about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pycryptodome/default.nix
blob: 44e7ed0ad4aa24ff18dc8bef1f795d93792e0161 (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
28
29
{ lib
, buildPythonPackage
, fetchPypi
, pycryptodome-test-vectors
}:

buildPythonPackage rec {
  pname = "pycryptodome";
  version = "3.12.0";
  format = "setuptools";

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

  pythonImportsCheck = [
    "Crypto"
  ];

  meta = with lib; {
    description = "Python Cryptography Toolkit";
    homepage = "https://www.pycryptodome.org/";
    license = with licenses; [ bsd2 /* and */ asl20 ];
    maintainers = with maintainers; [ fab ];
    platforms = platforms.unix;
  };
}