summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python_fedora
diff options
context:
space:
mode:
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; [ ];
};
}