Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 51 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, pythonOlder, fetchPypi, argcomplete, requests, requests-toolbelt, pyyaml}:
buildPythonPackage rec { pname = "python-gitlab"; version = "3.14.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-7zuJYPru6YgPgrCHLYB+P6uUrOErDSqEGKl4dciBLTw="; };
propagatedBuildInputs = [ requests requests-toolbelt ];
passthru.optional-dependencies = { autocompletion = [ argcomplete ]; yaml = [ pyyaml ]; };
# Tests rely on a gitlab instance on a local docker setup doCheck = false;
pythonImportsCheck = [ "gitlab" ];
meta = with lib; { 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 = licenses.lgpl3Only; maintainers = with maintainers; [ nyanloutre ]; };}