diff options
| author | Alexander Shestakov <a.shestakov@itransition.com> | 2021-07-12 12:50:28 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-12 12:50:28 +0300 |
| commit | cf364240093b278aeebca2ce7eff97748af7315a (patch) | |
| tree | 92ee610712836b7c7725afcd854aaec1ddd63151 /pkgs/development/python-modules/python-gitlab | |
| parent | 671dd83a29a69aab6fd7f9ac133d115a35516435 (diff) | |
| parent | 13b3e91794b9c3ef258122d946524eb57e3d13fd (diff) | |
Merge branch 'master' into master
Diffstat (limited to 'pkgs/development/python-modules/python-gitlab')
| -rw-r--r-- | pkgs/development/python-modules/python-gitlab/default.nix | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/python-gitlab/default.nix b/pkgs/development/python-modules/python-gitlab/default.nix index 6108ea74a23a..9d06569dfdc3 100644 --- a/pkgs/development/python-modules/python-gitlab/default.nix +++ b/pkgs/development/python-modules/python-gitlab/default.nix @@ -1,21 +1,38 @@ -{ stdenv, buildPythonPackage, fetchPypi, requests, mock, httmock, pythonOlder, pytest, responses }: +{ lib +, buildPythonPackage +, pythonOlder +, fetchPypi +, argcomplete +, requests +, requests-toolbelt +, pyyaml +}: buildPythonPackage rec { pname = "python-gitlab"; - version = "2.5.0"; + version = "2.9.0"; + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "68b42aafd4b620ab2534ff78a52584c7f799e4e55d5ac297eab4263066e6f74b"; + sha256 = "sha256-LFGxTN2aaAKDFaKw6IUl03YJZziPmfqlfeiQK0VGW+Y="; }; - propagatedBuildInputs = [ requests ]; + propagatedBuildInputs = [ + argcomplete + pyyaml + requests + requests-toolbelt + ]; - checkInputs = [ mock httmock pytest responses ]; + # tests rely on a gitlab instance on a local docker setup + doCheck = false; - disabled = pythonOlder "3.6"; + pythonImportsCheck = [ + "gitlab" + ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Interact with GitLab API"; homepage = "https://github.com/python-gitlab/python-gitlab"; license = licenses.lgpl3; |
