summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-gitlab
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2019-01-29 09:24:33 -0500
committerAaron Andersen <aaron@fosslib.net>2019-01-29 09:24:33 -0500
commitd13d35104ddecafd212ee7df01b5b5c48bce8d99 (patch)
treed685a6592390ff8fca5e2dce53190e3a8d2493a5 /pkgs/development/python-modules/python-gitlab
parent4ed7d822be7711eb605b011384c29006dc6651f4 (diff)
parent9310fc3e1345d35afec56e2ba3261f5f627576c6 (diff)
Merge remote-tracking branch 'upstream/master' into redmine
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 ];
+ };
+}