1{ 2 lib, 3 beautifulsoup4, 4 buildPythonPackage, 5 fetchPypi, 6 kitchen, 7 lockfile, 8 munch, 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 = [ setuptools ]; 31 32 propagatedBuildInputs = [ 33 beautifulsoup4 34 kitchen 35 lockfile 36 munch 37 openidc-client 38 requests 39 six 40 urllib3 41 ]; 42 43 nativeCheckInputs = [ 44 pytestCheckHook 45 ]; 46 47 disabledTestPaths = [ 48 # requires network access 49 "tests/functional/test_openidbaseclient.py" 50 ]; 51 52 pythonImportsCheck = [ "fedora" ]; 53 54 meta = with lib; { 55 description = "Module to interact with the infrastructure of the Fedora Project"; 56 homepage = "https://github.com/fedora-infra/python-fedora"; 57 changelog = "https://github.com/fedora-infra/python-fedora/releases/tag/${version}"; 58 license = licenses.lgpl21Plus; 59 maintainers = [ ]; 60 }; 61}