at master 760 B view raw
1{ 2 lib, 3 buildPythonApplication, 4 click, 5 fetchFromGitHub, 6 ipy, 7 pyyaml, 8 requests, 9}: 10 11buildPythonApplication rec { 12 pname = "gandi-cli"; 13 version = "1.6"; 14 format = "setuptools"; 15 16 src = fetchFromGitHub { 17 owner = "Gandi"; 18 repo = "gandi.cli"; 19 rev = version; 20 sha256 = "sha256-KLeEbbzgqpmBjeTc5RYsFScym8xtMqVjU+H0lyDM0+o="; 21 }; 22 23 propagatedBuildInputs = [ 24 click 25 ipy 26 pyyaml 27 requests 28 ]; 29 30 # Tests try to contact the actual remote API 31 doCheck = false; 32 pythonImportsCheck = [ "gandi" ]; 33 34 meta = with lib; { 35 description = "Command-line interface to the public Gandi.net API"; 36 mainProgram = "gandi"; 37 homepage = "https://cli.gandi.net/"; 38 license = licenses.gpl3Plus; 39 maintainers = [ ]; 40 }; 41}