1{ lib, buildPythonPackage, fetchPypi 2, requests, cryptography, pybrowserid, hawkauthlib, six 3, grequests, mock, responses, unittest2 }: 4 5buildPythonPackage rec { 6 pname = "PyFxA"; 7 version = "0.6.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "d511b6f43a9445587c609a138636d378de76661561116e1f4259fcec9d09b42b"; 12 }; 13 14 postPatch = '' 15 # Requires network access 16 rm fxa/tests/test_core.py 17 ''; 18 19 propagatedBuildInputs = [ 20 requests cryptography pybrowserid hawkauthlib six 21 ]; 22 23 checkInputs = [ 24 grequests mock responses unittest2 25 ]; 26 27 meta = with lib; { 28 description = "Firefox Accounts client library for Python"; 29 homepage = https://github.com/mozilla/PyFxA; 30 license = licenses.mpl20; 31 }; 32}