summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-gitlab
diff options
context:
space:
mode:
authorrembo10 <801525+rembo10@users.noreply.github.com>2019-02-18 09:14:14 +0800
committerGitHub <noreply@github.com>2019-02-18 09:14:14 +0800
commit8e151c1e86c88995b10328f600f3c54f2af399a5 (patch)
treeb6f2df0c43409a2f3e2fef0897e82135e06658db /pkgs/development/python-modules/python-gitlab
parent8d1ad4317c9a90724effa4a72bf18f1e7c0847e4 (diff)
parentfdc9cbb793c8a90bda0e25acd3fa38ef0200a001 (diff)
Merge branch 'master' into headphones
Diffstat (limited to 'pkgs/development/python-modules/python-gitlab')
-rw-r--r--pkgs/development/python-modules/python-gitlab/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-gitlab/default.nix b/pkgs/development/python-modules/python-gitlab/default.nix
new file mode 100644
index 000000000000..8c030ec8639b
--- /dev/null
+++ b/pkgs/development/python-modules/python-gitlab/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, buildPythonPackage, fetchPypi, requests, six, mock, httmock }:
+
+buildPythonPackage rec {
+ pname = "python-gitlab";
+ version = "1.7.0";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "17nh09c28vf2daamyq97bdzgr685lyh668haisqbbp5lkn9gh7j0";
+ };
+
+ 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 ];
+ };
+}