nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 43 lines 805 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 = "3.4.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "sha256-YYC4HuLyZa2NhBKVahdAtNPOynsori9wff5iN1/tAII="; 21 }; 22 23 propagatedBuildInputs = [ 24 argcomplete 25 pyyaml 26 requests 27 requests-toolbelt 28 ]; 29 30 # tests rely on a gitlab instance on a local docker setup 31 doCheck = false; 32 33 pythonImportsCheck = [ 34 "gitlab" 35 ]; 36 37 meta = with lib; { 38 description = "Interact with GitLab API"; 39 homepage = "https://github.com/python-gitlab/python-gitlab"; 40 license = licenses.lgpl3; 41 maintainers = with maintainers; [ nyanloutre ]; 42 }; 43}