about summary refs log tree commit diff
path: root/pkgs/development/python-modules/twofish/default.nix
blob: 5076de1ad3c33019cae6a1591a8008ed7e15405c (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
34
{ buildPythonPackage
, fetchPypi
, lib

# pythonPackages
, javaobj-py3
}:

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

  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
    ];
  };
}