Merge pull request #197852 from fabaff/chacha20poly1305
python310Packages.chacha20poly1305: init at 0.0.3
This commit is contained in:
commit
d4db1bb825
32
pkgs/development/python-modules/chacha20poly1305/default.nix
Normal file
32
pkgs/development/python-modules/chacha20poly1305/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user