summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-gitlab
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-11-05 15:19:33 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-11-05 15:19:33 -0500
commit48caae504502d36c65e3aa9d9b6aee7d06085057 (patch)
tree1d39e20dd17129f7d176c0991d23e425fdca04ac /pkgs/development/python-modules/python-gitlab
parentbe3978105857d2ce502aef51e740e6c9cc5519f9 (diff)
parenta054d7450768069084142fe597ed2da367813a4a (diff)
Merge remote-tracking branch 'upstream/master' into HEAD
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..24ab69f1a0bc
--- /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.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 ];
+ };
+}