2018-11-04 12:47:46 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, requests, six, mock, httmock }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-gitlab";
|
2019-01-18 20:24:36 +01:00
|
|
|
version = "1.7.0";
|
2018-11-04 12:47:46 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-18 20:24:36 +01:00
|
|
|
sha256 = "17nh09c28vf2daamyq97bdzgr685lyh668haisqbbp5lkn9gh7j0";
|
2018-11-04 12:47:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests six ];
|
|
|
|
|
|
|
|
checkInputs = [ mock httmock ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Interact with GitLab API";
|
|
|
|
homepage = https://github.com/python-gitlab/python-gitlab;
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ nyanloutre ];
|
|
|
|
};
|
|
|
|
}
|