Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / python-fedora / default.nix
blob01c79c39ea1c5ef08c28322ed27dea9c98a0569a
1 { lib
2 , beautifulsoup4
3 , buildPythonPackage
4 , fetchPypi
5 , kitchen
6 , lockfile
7 , munch
8 , nose
9 , openidc-client
10 , pytestCheckHook
11 , pythonOlder
12 , requests
13 , setuptools
14 , six
15 , urllib3
18 buildPythonPackage rec {
19   pname = "python-fedora";
20   version = "1.1.1";
21   pyproject = true;
23   disabled = pythonOlder "3.7";
25   src = fetchPypi {
26     inherit pname version;
27     hash = "sha256-VrnYQaObQDDjiOkMe3fazUefHOXi/5sYw5VNl9Vwmhk=";
28   };
30   nativeBuildInputs = [
31     setuptools
32   ];
34   propagatedBuildInputs = [
35     beautifulsoup4
36     kitchen
37     lockfile
38     munch
39     openidc-client
40     requests
41     six
42     urllib3
43   ];
45   nativeCheckInputs = [
46     pytestCheckHook
47     nose
48   ];
50   disabledTestPaths = [
51     # requires network access
52     "tests/functional/test_openidbaseclient.py"
53   ];
55   pythonImportsCheck = [
56     "fedora"
57   ];
59   meta = with lib; {
60     description = "Module to interact with the infrastructure of the Fedora Project";
61     homepage = "https://github.com/fedora-infra/python-fedora";
62     changelog = "https://github.com/fedora-infra/python-fedora/releases/tag/${version}";
63     license = licenses.lgpl21Plus;
64     maintainers = with maintainers; [ ];
65   };