biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / python-fedora / default.nix
blob4dda6c0bc84d8f22d8545e9b5396d2be11cfb5ab
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,
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 = [ setuptools ];
32   propagatedBuildInputs = [
33     beautifulsoup4
34     kitchen
35     lockfile
36     munch
37     openidc-client
38     requests
39     six
40     urllib3
41   ];
43   nativeCheckInputs = [
44     pytestCheckHook
45   ];
47   disabledTestPaths = [
48     # requires network access
49     "tests/functional/test_openidbaseclient.py"
50   ];
52   pythonImportsCheck = [ "fedora" ];
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   };