python3Packages.pyfxa: fix deps and tests
This commit is contained in:
parent
5f212d693f
commit
a4672f78d5
@ -1,6 +1,6 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi
|
{ lib, buildPythonPackage, fetchPypi
|
||||||
, requests, cryptography, pybrowserid, hawkauthlib, six
|
, requests, cryptography, pybrowserid, hawkauthlib, six
|
||||||
, grequests, mock, responses, pytest }:
|
, grequests, mock, responses, pytest, pyjwt }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "PyFxA";
|
pname = "PyFxA";
|
||||||
@ -17,15 +17,16 @@ buildPythonPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
requests cryptography pybrowserid hawkauthlib six
|
pyjwt requests cryptography pybrowserid hawkauthlib six
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
grequests mock responses pytest
|
grequests mock responses pytest
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# test_oath is mostly network calls
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
pytest
|
pytest --ignore=fxa/tests/test_oauth.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user