nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "chacha20poly1305";
9 version = "0.0.3";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-8vAFx89GOP+k/wbALHh0gGi2QpFnlcbRbHzF41XnDt8=";
15 };
16
17 # Module has no tests
18 doCheck = false;
19
20 pythonImportsCheck = [ "chacha20poly1305" ];
21
22 meta = {
23 description = "Module that implements ChaCha20Poly1305";
24 homepage = "https://github.com/ph4r05/py-chacha20poly1305";
25 license = lib.licenses.mit;
26 maintainers = [ ];
27 };
28}