diff options
| author | Claes Wallin (韋嘉誠) <claes.wallin@greatsinodevelopment.com> | 2018-11-16 15:41:48 +0800 |
|---|---|---|
| committer | Claes Wallin (韋嘉誠) <claes.wallin@greatsinodevelopment.com> | 2018-11-16 15:41:48 +0800 |
| commit | d3c2ec6f1d9aa2500cf35eb2767306c250a0ed3a (patch) | |
| tree | 7f4e4cee88dedc02663e123e9e2f3c3ee99aa9d8 /pkgs/development/python-modules/python-gitlab | |
| parent | 2f8f18986ae661dd73f6c74dfcbbdb276a5354f3 (diff) | |
| parent | db0abe98bfa7adad39912edad44743de030f8300 (diff) | |
Merge remote-tracking branch 'upstream/master' into racket-full-darwin
Diffstat (limited to 'pkgs/development/python-modules/python-gitlab')
| -rw-r--r-- | pkgs/development/python-modules/python-gitlab/default.nix | 22 |
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 ]; + }; +} |
