2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi, requests, mock, httmock, pythonOlder, pytest, responses }:
|
2018-11-04 11:47:46 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-04-28 23:12:27 +01:00
|
|
|
pname = "python-gitlab";
|
2020-10-03 07:56:54 +01:00
|
|
|
version = "2.5.0";
|
2018-11-04 11:47:46 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-03 07:56:54 +01:00
|
|
|
sha256 = "68b42aafd4b620ab2534ff78a52584c7f799e4e55d5ac297eab4263066e6f74b";
|
2018-11-04 11:47:46 +00:00
|
|
|
};
|
|
|
|
|
2020-04-28 23:52:44 +01:00
|
|
|
propagatedBuildInputs = [ requests ];
|
2018-11-04 11:47:46 +00:00
|
|
|
|
2020-09-12 22:45:22 +01:00
|
|
|
checkInputs = [ mock httmock pytest responses ];
|
2018-11-04 11:47:46 +00:00
|
|
|
|
2020-04-28 23:52:44 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-11-04 11:47:46 +00:00
|
|
|
description = "Interact with GitLab API";
|
2020-04-28 23:12:27 +01:00
|
|
|
homepage = "https://github.com/python-gitlab/python-gitlab";
|
|
|
|
license = licenses.lgpl3;
|
2018-11-04 11:47:46 +00:00
|
|
|
maintainers = with maintainers; [ nyanloutre ];
|
|
|
|
};
|
|
|
|
}
|