depot/third_party/nixpkgs/pkgs/development/python-modules/python-gitlab/default.nix
Default email 3b21d1e521 Project import generated by Copybara.
GitOrigin-RevId: 23cd13167a1432550e48734079c2ffeeb441fb96
2021-07-15 00:03:04 +02:00

41 lines
779 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, argcomplete
, requests
, requests-toolbelt
, pyyaml
}:
buildPythonPackage rec {
pname = "python-gitlab";
version = "2.9.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-LFGxTN2aaAKDFaKw6IUl03YJZziPmfqlfeiQK0VGW+Y=";
};
propagatedBuildInputs = [
argcomplete
pyyaml
requests
requests-toolbelt
];
# 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";
license = licenses.lgpl3;
maintainers = with maintainers; [ nyanloutre ];
};
}