mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 08:04:15 +01:00
https://github.com/python-gitlab/python-gitlab/blob/v7.1.0/CHANGELOG.md This commit was automatically generated using update-python-libraries.
50 lines
1 KiB
Nix
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";
|
|
};
|
|
}
|