Merge pull request #197852 from fabaff/chacha20poly1305

python310Packages.chacha20poly1305: init at 0.0.3
This commit is contained in:
Fabian Affolter 2022-10-26 14:27:42 +02:00 committed by GitHub
commit d4db1bb825
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
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;
pythonImportsCheck = [
"chacha20poly1305"
];
meta = with lib; {
description = "Module that implements ChaCha20Poly1305";
homepage = "https://github.com/ph4r05/py-chacha20poly1305";
license = licenses.mit;
maintainers = with maintainers; [ wolfangaukang ];
};
}

View File

@ -1749,6 +1749,8 @@ in {
cgroup-utils = callPackage ../development/python-modules/cgroup-utils { };
chacha20poly1305 = callPackage ../development/python-modules/chacha20poly1305 { };
chacha20poly1305-reuseable = callPackage ../development/python-modules/chacha20poly1305-reuseable { };
chai = callPackage ../development/python-modules/chai { };