nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, buildPythonPackage, fetchPypi, requests, six, mock, httmock }:
2
3buildPythonPackage rec {
4 pname = "python-gitlab";
5 version = "1.15.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "45125a0ed4d0027d4317bdbd71ca02fc52b0ac160b9d2c3c5be131b4d19f867e";
10 };
11
12 propagatedBuildInputs = [ requests six ];
13
14 checkInputs = [ mock httmock ];
15
16 meta = with stdenv.lib; {
17 description = "Interact with GitLab API";
18 homepage = https://github.com/python-gitlab/python-gitlab;
19 license = licenses.lgpl3;
20 maintainers = with maintainers; [ nyanloutre ];
21 };
22}