From 55a8ea38da8f08c64c33cb27d00c2dd8303c3daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 3 Dec 2018 15:01:09 +0100 Subject: [PATCH] python.pkgs.python-jose: 2.0.2 -> 3.0.1 --- .../python-modules/python-jose/default.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/python-jose/default.nix b/pkgs/development/python-modules/python-jose/default.nix index 68b46743d35f..4eb2daaf26dc 100644 --- a/pkgs/development/python-modules/python-jose/default.nix +++ b/pkgs/development/python-modules/python-jose/default.nix @@ -1,30 +1,31 @@ { stdenv, buildPythonPackage, fetchFromGitHub -, future, six, ecdsa, pycryptodome, pytest, cryptography +, future, six, ecdsa, rsa +, pycrypto, pytest, pytestcov, pytestrunner, cryptography }: buildPythonPackage rec { pname = "python-jose"; - version = "2.0.2"; + version = "3.0.1"; - # no tests in PyPI tarball src = fetchFromGitHub { owner = "mpdavis"; repo = "python-jose"; - # 2.0.2 not tagged on GitHub - # see https://github.com/mpdavis/python-jose/issues/86 - rev = "28cc6719eceb89129eed59c25f7bdac015665bdd"; - sha256 = "03wkq2rszy0rzy5gygsh4s7i6ls8zflgbcvxnflvmh7nis7002fp"; + rev = version; + sha256 = "1ahq4m86z504bnlk9z473r7r3dprg5m39900rld797hbczdhqa4f"; }; checkInputs = [ + pycrypto pytest + pytestcov + pytestrunner cryptography # optional dependency, but needed in tests ]; checkPhase = '' py.test ''; - propagatedBuildInputs = [ future six ecdsa pycryptodome ]; + propagatedBuildInputs = [ future six ecdsa rsa ]; meta = with stdenv.lib; { homepage = https://github.com/mpdavis/python-jose;