Revert "python.pkgs.python-jose: 2.0.2 -> 3.0.0"
This breaks moto. This reverts commit a6d3577d3d9a5aee20a88eb92de8dee266354269.
This commit is contained in:
parent
7f50451d3c
commit
ee5bff207f
@ -1,29 +1,30 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||||
, six, ecdsa, rsa, future, pytest, cryptography, pycryptodome
|
, future, six, ecdsa, pycryptodome, pytest, cryptography
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-jose";
|
pname = "python-jose";
|
||||||
version = "3.0.0";
|
version = "2.0.2";
|
||||||
|
|
||||||
# no tests in PyPI tarball
|
# no tests in PyPI tarball
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mpdavis";
|
owner = "mpdavis";
|
||||||
repo = "python-jose";
|
repo = "python-jose";
|
||||||
rev = version;
|
# 2.0.2 not tagged on GitHub
|
||||||
sha256 = "1dq8v87abqxv07wi403ywjk9jg1da125fviycqzki48cjxx0dhwj";
|
# see https://github.com/mpdavis/python-jose/issues/86
|
||||||
|
rev = "28cc6719eceb89129eed59c25f7bdac015665bdd";
|
||||||
|
sha256 = "03wkq2rszy0rzy5gygsh4s7i6ls8zflgbcvxnflvmh7nis7002fp";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytest
|
||||||
# optional dependencies, but needed in tests
|
cryptography # optional dependency, but needed in tests
|
||||||
cryptography pycryptodome
|
|
||||||
];
|
];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test
|
py.test
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ six ecdsa rsa future ];
|
propagatedBuildInputs = [ future six ecdsa pycryptodome ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/mpdavis/python-jose;
|
homepage = https://github.com/mpdavis/python-jose;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user