summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python_fedora
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-01-21 17:50:04 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2023-01-21 18:36:09 +0100
commit92bb58819b76da9838909dfc499666e0368eca86 (patch)
tree9a17437fcf8ca52d048512aeb96e4051732c69e3 /pkgs/development/python-modules/python_fedora
parent9cef2ea597d6bf277c4e02a9a04ccc3b777ab26a (diff)
python311Packages.python_fedora: update meta
Diffstat (limited to 'pkgs/development/python-modules/python_fedora')
-rw-r--r--pkgs/development/python-modules/python_fedora/default.nix47
1 files changed, 40 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/python_fedora/default.nix b/pkgs/development/python-modules/python_fedora/default.nix
index 6a5c6a304f14..7f4e6e2a4fd5 100644
--- a/pkgs/development/python-modules/python_fedora/default.nix
+++ b/pkgs/development/python-modules/python_fedora/default.nix
@@ -1,22 +1,55 @@
-{ lib, buildPythonPackage, fetchPypi, kitchen, requests, bunch, paver
-, six, munch, urllib3, beautifulsoup4, openidc-client, lockfile }:
+{ lib
+, beautifulsoup4
+, buildPythonPackage
+, bunch
+, fetchPypi
+, kitchen
+, lockfile
+, munch
+, openidc-client
+, paver
+, pythonOlder
+, requests
+, six
+, urllib3
+}:
buildPythonPackage rec {
pname = "python-fedora";
version = "1.1.1";
+ format = "setuptools";
+
+ disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
- sha256 = "56b9d841a39b4030e388e90c7b77dacd479f1ce5e2ff9b18c3954d97d5709a19";
+ hash = "sha256-VrnYQaObQDDjiOkMe3fazUefHOXi/5sYw5VNl9Vwmhk=";
};
- propagatedBuildInputs = [ kitchen requests bunch paver lockfile
- six munch urllib3 beautifulsoup4 openidc-client ];
+
+ propagatedBuildInputs = [
+ beautifulsoup4
+ bunch
+ kitchen
+ lockfile
+ munch
+ openidc-client
+ paver
+ requests
+ six
+ urllib3
+ ];
+
doCheck = false;
+ pythonImportsCheck = [
+ "fedora"
+ ];
+
meta = with lib; {
- description = "Python Fedora Module";
+ description = "Module to interact with the infrastructure of the Fedora Project";
homepage = "https://github.com/fedora-infra/python-fedora";
- license = licenses.lgpl2;
+ changelog = "https://github.com/fedora-infra/python-fedora/releases/tag/1.1.1";
+ license = licenses.lgpl21Plus;
maintainers = with maintainers; [ ];
};
}