python.pkgs.pyfxa: init at 0.6.0
This commit is contained in:
parent
4fbae5c301
commit
0a6d4b669b
32
pkgs/development/python-modules/pyfxa/default.nix
Normal file
32
pkgs/development/python-modules/pyfxa/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi
|
||||||
|
, requests, cryptography, pybrowserid, hawkauthlib, six
|
||||||
|
, grequests, mock, responses, unittest2 }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "PyFxA";
|
||||||
|
version = "0.6.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "d511b6f43a9445587c609a138636d378de76661561116e1f4259fcec9d09b42b";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Requires network access
|
||||||
|
rm fxa/tests/test_core.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
requests cryptography pybrowserid hawkauthlib six
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
grequests mock responses unittest2
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Firefox Accounts client library for Python";
|
||||||
|
homepage = https://github.com/mozilla/PyFxA;
|
||||||
|
license = licenses.mpl20;
|
||||||
|
};
|
||||||
|
}
|
@ -3915,6 +3915,8 @@ in {
|
|||||||
|
|
||||||
pydotplus = callPackage ../development/python-modules/pydotplus { };
|
pydotplus = callPackage ../development/python-modules/pydotplus { };
|
||||||
|
|
||||||
|
pyfxa = callPackage ../development/python-modules/pyfxa { };
|
||||||
|
|
||||||
pyhomematic = callPackage ../development/python-modules/pyhomematic { };
|
pyhomematic = callPackage ../development/python-modules/pyhomematic { };
|
||||||
|
|
||||||
pylama = callPackage ../development/python-modules/pylama { };
|
pylama = callPackage ../development/python-modules/pylama { };
|
||||||
|
Loading…
Reference in New Issue
Block a user