2018-11-04 11:47:46 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, requests, six, mock, httmock }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-gitlab";
|
2019-07-16 16:25:28 +01:00
|
|
|
version = "1.9.0";
|
2018-11-04 11:47:46 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-07-16 16:25:28 +01:00
|
|
|
sha256 = "1p0i6gsl4mcv6w1sm0rsxq9bq2cmmg3n7c0dniqlvqmzkk62qqhx";
|
2018-11-04 11:47:46 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|