diff --git a/pkgs/development/python-modules/pyjwkest/default.nix b/pkgs/development/python-modules/pyjwkest/default.nix new file mode 100644 index 000000000000..03cea021be8c --- /dev/null +++ b/pkgs/development/python-modules/pyjwkest/default.nix @@ -0,0 +1,23 @@ +{ lib, buildPythonPackage, fetchPypi, + future, pycryptodomex, pytest, requests, six +}: + +buildPythonPackage rec { + pname = "pyjwkest"; + name = "${pname}-${version}"; + version = "1.3.2"; + + meta = { + description = "Implementation of JWT, JWS, JWE and JWK"; + homepage = https://github.com/rohe/pyjwkest; + license = lib.licenses.asl20; + }; + + src = fetchPypi { + inherit pname version; + sha256 = "11rrswsmma3wzi2qnmq929323yc6i9fkjsv8zr7b3vajd72yr49d"; + }; + + buildInputs = [ pytest ]; + propagatedBuildInputs = [ future pycryptodomex requests six ]; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c663ca4f957e..a477991d9617 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -251,6 +251,8 @@ in { libglade = pkgs.gnome2.libglade; }; + pyjwkest = callPackage ../development/python-modules/pyjwkest { }; + pyqt4 = callPackage ../development/python-modules/pyqt/4.x.nix { pythonPackages = self; };