blob: 93a74114af19b3eaf0beb5c2682eb55999f10775 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
};
}
|