1 { lib, buildPythonPackage, fetchPypi, isPyPy, isPy3k, click, gmpy2, numpy } :
10 inherit pname version;
12 # https://github.com/n1analytics/python-paillier/issues/51
13 disabled = isPyPy || ! isPy3k;
16 inherit pname version;
17 hash = "sha256-mS+3CR0kJ/DZczlG+PNQrN1NHQEgV/Kq02S6eflwM5w=";
20 buildInputs = [ click gmpy2 numpy ];
26 description = "A library for Partially Homomorphic Encryption in Python";
27 mainProgram = "pheutil";
28 homepage = "https://github.com/n1analytics/python-paillier";
29 license = licenses.gpl3;