diff --git a/pkgs/development/python-modules/twofish/default.nix b/pkgs/development/python-modules/twofish/default.nix new file mode 100644 index 000000000000..1fe541b07290 --- /dev/null +++ b/pkgs/development/python-modules/twofish/default.nix @@ -0,0 +1,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 + ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8cf4be96c25f..46914bf9c819 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6458,6 +6458,8 @@ in { twilio = callPackage ../development/python-modules/twilio { }; + twofish = callPackage ../development/python-modules/twofish { }; + uranium = callPackage ../development/python-modules/uranium { }; uuid = callPackage ../development/python-modules/uuid { };