Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 22 lines 585 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, requests, six, mock, httmock }: 2 3buildPythonPackage rec { 4 pname = "python-gitlab"; 5 version = "1.9.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1p0i6gsl4mcv6w1sm0rsxq9bq2cmmg3n7c0dniqlvqmzkk62qqhx"; 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}