summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-gitlab
diff options
context:
space:
mode:
authorGeopJr <evan@geopjr.dev>2022-12-18 17:09:59 +0200
committerGitHub <noreply@github.com>2022-12-18 17:09:59 +0200
commit23b9200552775f0912ae3b784c249d56fdfc8b2e (patch)
tree4c07544026db407760de39661d384787727824aa /pkgs/development/python-modules/python-gitlab
parenteab3f4d896caa291fbe824efa9e2e1f2cbf6ed16 (diff)
parent1a46da8ccdabbe6ca5934715bcb293531ae36245 (diff)
Merge branch 'master' into update/crystal
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 ];
};
}