Merge pull request #49744 from nyanloutre/python-gitlab
pythonPackages.python-gitlab: init at 1.6.0
This commit is contained in:
commit
6a73df797c
|
@ -0,0 +1,22 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchFromGitHub, requests }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "httmock";
|
||||||
|
version = "1.2.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "patrys";
|
||||||
|
repo = "httmock";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0iya8qsb2jm03s9p6sf1yzgm1irxl3dcq0k0a9ygl0skzjz5pvab";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ requests ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A mocking library for requests";
|
||||||
|
homepage = https://github.com/patrys/httmock;
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ nyanloutre ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, requests, six, mock, httmock }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-gitlab";
|
||||||
|
version = "1.6.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "20ceb9232f9a412ce6554056a6b5039013d0755261d57b5c8ada7035773de795";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1648,6 +1648,8 @@ in {
|
||||||
inherit (pkgs.gitAndTools) git-annex;
|
inherit (pkgs.gitAndTools) git-annex;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
python-gitlab = callPackage ../development/python-modules/python-gitlab { };
|
||||||
|
|
||||||
google-cloud-sdk = callPackage ../tools/admin/google-cloud-sdk { };
|
google-cloud-sdk = callPackage ../tools/admin/google-cloud-sdk { };
|
||||||
google-cloud-sdk-gce = callPackage ../tools/admin/google-cloud-sdk { with-gce=true; };
|
google-cloud-sdk-gce = callPackage ../tools/admin/google-cloud-sdk { with-gce=true; };
|
||||||
|
|
||||||
|
@ -2460,6 +2462,8 @@ in {
|
||||||
|
|
||||||
html5lib = callPackage ../development/python-modules/html5lib { };
|
html5lib = callPackage ../development/python-modules/html5lib { };
|
||||||
|
|
||||||
|
httmock = callPackage ../development/python-modules/httmock { };
|
||||||
|
|
||||||
http_signature = callPackage ../development/python-modules/http_signature { };
|
http_signature = callPackage ../development/python-modules/http_signature { };
|
||||||
|
|
||||||
httpbin = callPackage ../development/python-modules/httpbin { };
|
httpbin = callPackage ../development/python-modules/httpbin { };
|
||||||
|
|
Loading…
Reference in New Issue