mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
29 lines
607 B
Nix
29 lines
607 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pycryptodome-test-vectors
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pycryptodomex";
|
|
version = "3.12.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ki6drAFm5GF+XHmA0s/2kSputctcE+fs4iJDhlC9f2Y=";
|
|
extension = "zip";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|