python.pkgs.python-jose: 2.0.2 -> 3.0.1
This commit is contained in:
parent
79ced8c6da
commit
55a8ea38da
@ -1,30 +1,31 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||||
, future, six, ecdsa, pycryptodome, pytest, cryptography
|
, future, six, ecdsa, rsa
|
||||||
|
, pycrypto, pytest, pytestcov, pytestrunner, cryptography
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-jose";
|
pname = "python-jose";
|
||||||
version = "2.0.2";
|
version = "3.0.1";
|
||||||
|
|
||||||
# no tests in PyPI tarball
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mpdavis";
|
owner = "mpdavis";
|
||||||
repo = "python-jose";
|
repo = "python-jose";
|
||||||
# 2.0.2 not tagged on GitHub
|
rev = version;
|
||||||
# see https://github.com/mpdavis/python-jose/issues/86
|
sha256 = "1ahq4m86z504bnlk9z473r7r3dprg5m39900rld797hbczdhqa4f";
|
||||||
rev = "28cc6719eceb89129eed59c25f7bdac015665bdd";
|
|
||||||
sha256 = "03wkq2rszy0rzy5gygsh4s7i6ls8zflgbcvxnflvmh7nis7002fp";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
pycrypto
|
||||||
pytest
|
pytest
|
||||||
|
pytestcov
|
||||||
|
pytestrunner
|
||||||
cryptography # optional dependency, but needed in tests
|
cryptography # optional dependency, but needed in tests
|
||||||
];
|
];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test
|
py.test
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ future six ecdsa pycryptodome ];
|
propagatedBuildInputs = [ future six ecdsa rsa ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/mpdavis/python-jose;
|
homepage = https://github.com/mpdavis/python-jose;
|
||||||
|
Loading…
Reference in New Issue
Block a user