From 0da797bd41c955b05bd8ace6daf048da1142e450 Mon Sep 17 00:00:00 2001 From: Pavan Rikhi Date: Mon, 15 Dec 2014 02:21:01 -0500 Subject: [PATCH] pyjwt: add expression --- pkgs/top-level/python-packages.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7248e39f9e73..35541aa8d604 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7558,6 +7558,27 @@ let }; }; + pyjwt = buildPythonPackage rec { + version = "0.3.2"; + name = "pyjwt-${version}"; + + src = pkgs.fetchurl { + url = "http://github.com/progrium/pyjwt/archive/${version}.tar.gz"; + sha256 = "118rzhpyvx1h4hslms4fdizyv6mnyd4g34fv089lvs116pj08k9c"; + }; + + propagatedBuildInputs = with self; [ pycrypto ecdsa ]; + + meta = with stdenv.lib; { + description = "JSON Web Token implementation in Python"; + longDescription = "A Python implementation of JSON Web Token draft 01."; + homepage = https://github.com/progrium/pyjwt; + downloadPage = https://github.com/progrium/pyjwt/releases; + license = licenses.mit; + maintainers = with maintainers; [ prikhi ]; + platforms = platforms.linux; + }; + }; pykickstart = buildPythonPackage rec { name = "pykickstart-${version}";