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
16}:
17
18buildPythonPackage rec {
19 pname = "python-fedora";
20 version = "1.1.1";
21 pyproject = true;
22
23 disabled = pythonOlder "3.7";
24
25 src = fetchPypi {
26 inherit pname version;
27 hash = "sha256-VrnYQaObQDDjiOkMe3fazUefHOXi/5sYw5VNl9Vwmhk=";
28 };
29
30 nativeBuildInputs = [
31 setuptools
32 ];
33
34 propagatedBuildInputs = [
35 beautifulsoup4
36 kitchen
37 lockfile
38 munch
39 openidc-client
40 requests
41 six
42 urllib3
43 ];
44
45 nativeCheckInputs = [
46 pytestCheckHook
47 nose
48 ];
49
50 disabledTestPaths = [
51 # requires network access
52 "tests/functional/test_openidbaseclient.py"
53 ];
54
55 pythonImportsCheck = [
56 "fedora"
57 ];
58
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 };
66}