2022-01-26 04:04:25 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pycryptodome-test-vectors
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pycryptodome";
|
2022-01-26 04:04:25 +00:00
|
|
|
version = "3.12.0";
|
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-26 04:04:25 +00:00
|
|
|
hash = "sha256-Esc0OuxaOz31xHJlKBsSthHybsk2e2EpGZ1n2lS3aME=";
|
|
|
|
extension = "zip";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-01-26 04:04:25 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"Crypto"
|
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Python Cryptography Toolkit";
|
2022-01-26 04:04:25 +00:00
|
|
|
homepage = "https://www.pycryptodome.org/";
|
|
|
|
license = with licenses; [ bsd2 /* and */ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|