summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-gitlab/default.nix
blob: c706ff7903c3bb37b00237f97a7d54f3ff6ca701 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, stdenv, buildPythonPackage, fetchPypi, requests, mock, httmock, pythonOlder, pytest, responses }:

buildPythonPackage rec {
  pname = "python-gitlab";
  version = "2.5.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "68b42aafd4b620ab2534ff78a52584c7f799e4e55d5ac297eab4263066e6f74b";
  };

  propagatedBuildInputs = [ requests ];

  checkInputs = [ mock httmock pytest responses ];

  disabled = pythonOlder "3.6";

  meta = with lib; {
    description = "Interact with GitLab API";
    homepage = "https://github.com/python-gitlab/python-gitlab";
    license = licenses.lgpl3;
    maintainers = with maintainers; [ nyanloutre ];
  };
}