sesh: 2.7.0 -> 2.8.0 (#371799)
[NixPkgs.git] / pkgs / development / python-modules / pyfxa / default.nix
blobd3a4dcfac3ed53b0ddbebcfd73838fc018737dc0
2   lib,
3   buildPythonPackage,
4   cryptography,
5   fetchPypi,
6   grequests,
7   hawkauthlib,
8   mock,
9   pybrowserid,
10   pyjwt,
11   pytestCheckHook,
12   pythonOlder,
13   requests,
14   responses,
15   hatchling,
16   parameterized,
19 buildPythonPackage rec {
20   pname = "pyfxa";
21   version = "0.7.9";
22   pyproject = true;
24   disabled = pythonOlder "3.7";
26   src = fetchPypi {
27     inherit pname version;
28     hash = "sha256-dTsWFWaqX6YypNJz9WSlcxJlYOstmTu2ZgOG3RPSViw=";
29   };
31   build-system = [ hatchling ];
33   dependencies = [
34     cryptography
35     hawkauthlib
36     pybrowserid
37     pyjwt
38     requests
39   ];
41   nativeCheckInputs = [
42     grequests
43     mock
44     responses
45     pytestCheckHook
46     parameterized
47   ];
49   pythonImportsCheck = [ "fxa" ];
51   disabledTestPaths = [
52     # Requires network access
53     "fxa/tests/test_core.py"
54     "fxa/tests/test_oauth.py"
55   ];
57   meta = with lib; {
58     description = "Firefox Accounts client library";
59     mainProgram = "fxa-client";
60     homepage = "https://github.com/mozilla/PyFxA";
61     license = licenses.mpl20;
62     maintainers = [ ];
63   };