mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
32 lines
628 B
Nix
32 lines
628 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "chacha20poly1305";
|
|
version = "0.0.3";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
hash = "sha256-8vAFx89GOP+k/wbALHh0gGi2QpFnlcbRbHzF41XnDt8=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "chacha20poly1305" ];
|
|
|
|
meta = {
|
|
description = "Module that implements ChaCha20Poly1305";
|
|
homepage = "https://github.com/ph4r05/py-chacha20poly1305";
|
|
license = lib.licenses.lgpl21;
|
|
maintainers = [ ];
|
|
};
|
|
})
|