2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests, mock, httmock, pythonOlder, pytest, responses }:
|
2018-11-04 12:47:46 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-04-29 00:12:27 +02:00
|
|
|
pname = "python-gitlab";
|
2020-10-03 08:56:54 +02:00
|
|
|
version = "2.5.0";
|
2018-11-04 12:47:46 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-03 08:56:54 +02:00
|
|
|
sha256 = "68b42aafd4b620ab2534ff78a52584c7f799e4e55d5ac297eab4263066e6f74b";
|
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
|
|
|
|
2020-09-12 23:45:22 +02:00
|
|
|
checkInputs = [ mock httmock pytest responses ];
|
2018-11-04 12:47:46 +01:00
|
|
|
|
2020-04-29 00:52:44 +02:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-11-04 12:47:46 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|