nixpkgs/pkgs/development/python-modules/python-gitlab/default.nix
2018-11-04 12:47:46 +01:00

23 lines
597 B
Nix

{ 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 ];
};
}