summary refs log tree commit diff
path: root/pkgs/development/python-modules/twofish/default.nix
blob: 1fe541b0729078cfc6e8b26da5f08e1639a7d133 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ buildPythonPackage
, fetchPypi
, lib

# pythonPackages
, javaobj-py3
}:

buildPythonPackage rec {
  pname = "twofish";
  version = "0.3.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1yihp2n42amrxw0wk9f66llpb3w5kwhgkcdg9krkzcik1nsqp7dh";
  };

  propagatedBuildInputs = [
    javaobj-py3
  ];

  # No tests implemented
  doCheck = false;

  meta = {
    description = "Bindings for the Twofish implementation by Niels Ferguson";
    homepage = "https://github.com/keybase/python-twofish";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [
      kamadorueda
    ];
  };
}