nixpkgs/pkgs/development/python-modules/python-gitlab/default.nix
Martin Weinelt 29569aa02c python3Packages.python-gitlab: 7.0.0 -> 7.1.0
https://github.com/python-gitlab/python-gitlab/blob/v7.1.0/CHANGELOG.md

This commit was automatically generated using update-python-libraries.
2026-02-01 17:20:08 +01:00

50 lines
1 KiB
Nix

{
lib,
argcomplete,
buildPythonPackage,
fetchPypi,
gql,
pyyaml,
requests-toolbelt,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "python-gitlab";
version = "7.1.0";
pyproject = true;
src = fetchPypi {
pname = "python_gitlab";
inherit version;
hash = "sha256-HDTaPeQK0hZ114gTb3PSCmBklRPmkvUsWpcgQ025fEY=";
};
build-system = [ setuptools ];
dependencies = [
requests
requests-toolbelt
];
optional-dependencies = {
autocompletion = [ argcomplete ];
graphql = [ gql ] ++ gql.optional-dependencies.httpx;
yaml = [ pyyaml ];
};
# Tests rely on a gitlab instance on a local docker setup
doCheck = false;
pythonImportsCheck = [ "gitlab" ];
meta = {
description = "Interact with GitLab API";
homepage = "https://github.com/python-gitlab/python-gitlab";
changelog = "https://github.com/python-gitlab/python-gitlab/blob/v${version}/CHANGELOG.md";
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ nyanloutre ];
mainProgram = "gitlab";
};
}