1{ buildPythonPackage
2, fetchPypi
3, lib
4
5# pythonPackages
6, javaobj-py3
7}:
8
9buildPythonPackage rec {
10 pname = "twofish";
11 version = "0.3.0";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "1yihp2n42amrxw0wk9f66llpb3w5kwhgkcdg9krkzcik1nsqp7dh";
16 };
17
18 propagatedBuildInputs = [
19 javaobj-py3
20 ];
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; [
30 kamadorueda
31 ];
32 };
33}