83627f9931
GitOrigin-RevId: 2893f56de08021cffd9b6b6dfc70fd9ccd51eb60
31 lines
613 B
Nix
31 lines
613 B
Nix
{
|
|
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 = [ ];
|
|
};
|
|
}
|