1{
2 buildPythonPackage,
3 fetchPypi,
4 lib,
5
6 # pythonPackages
7 javaobj-py3,
8}:
9
10buildPythonPackage rec {
11 pname = "twofish";
12 version = "0.3.0";
13 format = "setuptools";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "1yihp2n42amrxw0wk9f66llpb3w5kwhgkcdg9krkzcik1nsqp7dh";
18 };
19
20 propagatedBuildInputs = [ javaobj-py3 ];
21
22 # No tests implemented
23 doCheck = false;
24
25 meta = {
26 description = "Bindings for the Twofish implementation by Niels Ferguson";
27 homepage = "https://github.com/keybase/python-twofish";
28 license = lib.licenses.bsd3;
29 maintainers = with lib.maintainers; [ kamadorueda ];
30 };
31}