summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-gitlab
diff options
context:
space:
mode:
authorLuc Perkins <lucperkins@gmail.com>2022-11-01 12:21:00 -0300
committerLuc Perkins <lucperkins@gmail.com>2022-11-01 12:22:33 -0300
commit31854fc954047d83b1daafe09156f0a70b8eae36 (patch)
treef1b66108ec8f37f824765ea98333d18452586421 /pkgs/development/python-modules/python-gitlab
parentd242221640a92bf85ee09d271f73eba2bec19241 (diff)
parentc3033dafb0ee623203adcb72cdfa64fb8341d484 (diff)
temporalite: fix merge conflict
Diffstat (limited to 'pkgs/development/python-modules/python-gitlab')
-rw-r--r--pkgs/development/python-modules/python-gitlab/default.nix19
1 files changed, 13 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/python-gitlab/default.nix b/pkgs/development/python-modules/python-gitlab/default.nix
index 09dade7107a5..63cfb7c38846 100644
--- a/pkgs/development/python-modules/python-gitlab/default.nix
+++ b/pkgs/development/python-modules/python-gitlab/default.nix
@@ -10,24 +10,31 @@
buildPythonPackage rec {
pname = "python-gitlab";
- version = "3.10.0";
+ version = "3.11.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
- sha256 = "sha256-FJMKFv3X829nuTc+fU1HIOjjdIAAKDgCidszBun3RhQ=";
+ hash = "sha256-25Rytq5PupaLQJ3DL67iDdZQiQZdqpPgjSG3lqZdZXg=";
};
propagatedBuildInputs = [
- argcomplete
- pyyaml
requests
requests-toolbelt
];
- # tests rely on a gitlab instance on a local docker setup
+ passthru.optional-dependencies = {
+ autocompletion = [
+ argcomplete
+ ];
+ yaml = [
+ pyyaml
+ ];
+ };
+
+ # Tests rely on a gitlab instance on a local docker setup
doCheck = false;
pythonImportsCheck = [
@@ -37,7 +44,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Interact with GitLab API";
homepage = "https://github.com/python-gitlab/python-gitlab";
- license = licenses.lgpl3;
+ license = licenses.lgpl3Only;
maintainers = with maintainers; [ nyanloutre ];
};
}