summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-gitlab
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-05-05 19:51:09 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2020-05-05 19:51:09 +0200
commit9875bbae75231f395ab020fbef6cbae698cc75c5 (patch)
treeeabae7448bcbba0d55420a068f5f55728e1736dc /pkgs/development/python-modules/python-gitlab
parent320f79365d41aef687a07b50c725926932c9372b (diff)
parent73dc3fc400141176138c95ea9c3f28750b2608e6 (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/development/python-modules/python-gitlab')
-rw-r--r--pkgs/development/python-modules/python-gitlab/default.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/python-gitlab/default.nix b/pkgs/development/python-modules/python-gitlab/default.nix
index d2b1a6570b12..0c1f7c67e3df 100644
--- a/pkgs/development/python-modules/python-gitlab/default.nix
+++ b/pkgs/development/python-modules/python-gitlab/default.nix
@@ -1,22 +1,24 @@
-{ stdenv, buildPythonPackage, fetchPypi, requests, six, mock, httmock }:
+{ stdenv, buildPythonPackage, fetchPypi, requests, mock, httmock, pythonOlder }:
buildPythonPackage rec {
- pname = "python-gitlab";
- version = "1.15.0";
+ pname = "python-gitlab";
+ version = "2.2.0";
src = fetchPypi {
inherit pname version;
- sha256 = "45125a0ed4d0027d4317bdbd71ca02fc52b0ac160b9d2c3c5be131b4d19f867e";
+ sha256 = "4c4ea60c8303f4214522b18038df017cae35afda7474efa0b4e19c2e73bc3ae2";
};
- propagatedBuildInputs = [ requests six ];
+ propagatedBuildInputs = [ requests ];
checkInputs = [ mock httmock ];
+ disabled = pythonOlder "3.6";
+
meta = with stdenv.lib; {
description = "Interact with GitLab API";
- homepage = "https://github.com/python-gitlab/python-gitlab";
- license = licenses.lgpl3;
+ homepage = "https://github.com/python-gitlab/python-gitlab";
+ license = licenses.lgpl3;
maintainers = with maintainers; [ nyanloutre ];
};
}