2021-01-10 23:54:33 -08:00
|
|
|
{ lib, stdenv, python3Packages, fetchFromGitHub }:
|
2016-05-03 09:25:57 -07:00
|
|
|
|
2018-11-30 07:16:28 -08:00
|
|
|
with python3Packages;
|
2016-05-03 09:25:57 -07:00
|
|
|
|
2018-11-30 07:16:28 -08:00
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "gandi-cli";
|
2019-11-01 18:38:30 -07:00
|
|
|
version = "1.5";
|
2016-05-03 09:25:57 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Gandi";
|
2018-11-30 07:16:28 -08:00
|
|
|
repo = "gandi.cli";
|
|
|
|
rev = version;
|
2019-11-01 18:38:30 -07:00
|
|
|
sha256 = "1jcabpphlm6qajw8dz0h4gynm03g1mxi0cn900i3v7wdfww1gfab";
|
2016-05-03 09:25:57 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ click ipy pyyaml requests ];
|
|
|
|
|
|
|
|
doCheck = false; # Tests try to contact the actual remote API
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2016-05-03 09:25:57 -07:00
|
|
|
description = "Command-line interface to the public Gandi.net API";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://cli.gandi.net/";
|
2016-05-03 09:25:57 -07:00
|
|
|
license = licenses.gpl3Plus;
|
2019-09-03 13:52:13 -07:00
|
|
|
maintainers = with maintainers; [ kampka ];
|
2016-05-03 09:25:57 -07:00
|
|
|
};
|
|
|
|
}
|