depot/third_party/nixpkgs/pkgs/development/python-modules/pycryptodome/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

28 lines
590 B
Nix

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