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