summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-gitlab
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2024-09-14 12:49:11 +0200
committerGitHub <noreply@github.com>2024-09-14 12:49:11 +0200
commit32caaebdf290129aab3920ad3367738291fa1d24 (patch)
treedeb4d164504074f3d4b5c76c758360b2ba540f97 /pkgs/development/python-modules/python-gitlab
parent7b9071cbb29a01e57d182bc814473eb8e2691927 (diff)
parent9860ffdc5eee45953c246b0724e59a95d179b0de (diff)
python312Packages.python-gitlab: 4.10.0 -> 4.11.1 (#341685)
Diffstat (limited to 'pkgs/development/python-modules/python-gitlab')
-rw-r--r--pkgs/development/python-modules/python-gitlab/default.nix30
1 files changed, 14 insertions, 16 deletions
diff --git a/pkgs/development/python-modules/python-gitlab/default.nix b/pkgs/development/python-modules/python-gitlab/default.nix
index ca44848e76d0..33a15d52d7ed 100644
--- a/pkgs/development/python-modules/python-gitlab/default.nix
+++ b/pkgs/development/python-modules/python-gitlab/default.nix
@@ -1,41 +1,39 @@
{
lib,
+ argcomplete,
buildPythonPackage,
- pythonOlder,
fetchPypi,
-
- # build-system
- setuptools,
-
- # dependencies
- argcomplete,
- requests,
- requests-toolbelt,
+ gql,
+ pythonOlder,
pyyaml,
+ requests-toolbelt,
+ requests,
+ setuptools,
}:
buildPythonPackage rec {
pname = "python-gitlab";
- version = "4.10.0";
+ version = "4.11.1";
pyproject = true;
- disabled = pythonOlder "3.7";
+ disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "python_gitlab";
inherit version;
- hash = "sha256-hvmcGRUIji0lc4F6yov2urXk8S1CsE72st8qu1KNV/0=";
+ hash = "sha256-evovnDBhi8Pa7pXSGGoG4c8Yyi+peJDrVf2N3E4zmBI=";
};
- nativeBuildInputs = [ setuptools ];
+ build-system = [ setuptools ];
- propagatedBuildInputs = [
+ dependencies = [
requests
requests-toolbelt
];
- passthru.optional-dependencies = {
+ optional-dependencies = {
autocompletion = [ argcomplete ];
+ graphql = [ gql ] ++ gql.optional-dependencies.httpx;
yaml = [ pyyaml ];
};
@@ -46,10 +44,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Interact with GitLab API";
- mainProgram = "gitlab";
homepage = "https://github.com/python-gitlab/python-gitlab";
changelog = "https://github.com/python-gitlab/python-gitlab/blob/v${version}/CHANGELOG.md";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ nyanloutre ];
+ mainProgram = "gitlab";
};
}