Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 41 lines 780 B view raw
1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, argcomplete 6, requests 7, requests-toolbelt 8, pyyaml 9}: 10 11buildPythonPackage rec { 12 pname = "python-gitlab"; 13 version = "2.7.1"; 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "0z4amj5xhx5zc3h2m0zrkardm3z5ba9qpjx5n6dczyz77r527yg1"; 19 }; 20 21 propagatedBuildInputs = [ 22 argcomplete 23 pyyaml 24 requests 25 requests-toolbelt 26 ]; 27 28 # tests rely on a gitlab instance on a local docker setup 29 doCheck = false; 30 31 pythonImportsCheck = [ 32 "gitlab" 33 ]; 34 35 meta = with lib; { 36 description = "Interact with GitLab API"; 37 homepage = "https://github.com/python-gitlab/python-gitlab"; 38 license = licenses.lgpl3; 39 maintainers = with maintainers; [ nyanloutre ]; 40 }; 41}