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

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

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-4E5Ap/jBZpGVU2o3l53YfaLDLb3HPW/jXwB3sMF8gDs=";
  };

  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;
  };
}