1{ stdenv, buildPythonPackage, fetchPypi, requests, mock, httmock, pythonOlder, pytest, responses }:
2
3buildPythonPackage rec {
4 pname = "python-gitlab";
5 version = "2.4.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "e240b5c371d9e98c46c980d878c3f03cd83f3da6cda01d533db27fa3e0dd474f";
10 };
11
12 propagatedBuildInputs = [ requests ];
13
14 checkInputs = [ mock httmock pytest responses ];
15
16 disabled = pythonOlder "3.6";
17
18 meta = with stdenv.lib; {
19 description = "Interact with GitLab API";
20 homepage = "https://github.com/python-gitlab/python-gitlab";
21 license = licenses.lgpl3;
22 maintainers = with maintainers; [ nyanloutre ];
23 };
24}