2020-04-29 00:52:44 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, requests, mock, httmock, pythonOlder }:
|
2018-11-04 12:47:46 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-04-29 00:12:27 +02:00
|
|
|
pname = "python-gitlab";
|
2020-04-29 00:52:44 +02:00
|
|
|
version = "2.2.0";
|
2018-11-04 12:47:46 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-29 00:52:44 +02:00
|
|
|
sha256 = "4c4ea60c8303f4214522b18038df017cae35afda7474efa0b4e19c2e73bc3ae2";
|
2018-11-04 12:47:46 +01:00
|
|
|
};
|
|
|
|
|
2020-04-29 00:52:44 +02:00
|
|
|
propagatedBuildInputs = [ requests ];
|
2018-11-04 12:47:46 +01:00
|
|
|
|
|
|
|
checkInputs = [ mock httmock ];
|
|
|
|
|
2020-04-29 00:52:44 +02:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
2018-11-04 12:47:46 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Interact with GitLab API";
|
2020-04-29 00:12:27 +02:00
|
|
|
homepage = "https://github.com/python-gitlab/python-gitlab";
|
|
|
|
license = licenses.lgpl3;
|
2018-11-04 12:47:46 +01:00
|
|
|
maintainers = with maintainers; [ nyanloutre ];
|
|
|
|
};
|
|
|
|
}
|