2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pythonOlder,
|
2022-10-30 15:09:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "chacha20poly1305";
|
|
|
|
version = "0.0.3";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-8vAFx89GOP+k/wbALHh0gGi2QpFnlcbRbHzF41XnDt8=";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Module has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "chacha20poly1305" ];
|
2022-10-30 15:09:59 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Module that implements ChaCha20Poly1305";
|
|
|
|
homepage = "https://github.com/ph4r05/py-chacha20poly1305";
|
|
|
|
license = licenses.mit;
|
2024-06-24 18:47:55 +00:00
|
|
|
maintainers = [ ];
|
2022-10-30 15:09:59 +00:00
|
|
|
};
|
|
|
|
}
|