Unverified Commit d4db1bb8 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #197852 from fabaff/chacha20poly1305

python310Packages.chacha20poly1305: init at 0.0.3
parents 9923be16 30bd6d0b
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };