2018-11-30 16:16:28 +01:00
|
|
|
{ stdenv, python3Packages, fetchFromGitHub }:
|
2016-05-03 18:25:57 +02:00
|
|
|
|
2018-11-30 16:16:28 +01:00
|
|
|
with python3Packages;
|
2016-05-03 18:25:57 +02:00
|
|
|
|
2018-11-30 16:16:28 +01:00
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "gandi-cli";
|
2019-03-02 08:46:34 +01:00
|
|
|
version = "1.4";
|
2016-05-03 18:25:57 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Gandi";
|
2018-11-30 16:16:28 +01:00
|
|
|
repo = "gandi.cli";
|
|
|
|
rev = version;
|
2019-03-02 08:46:34 +01:00
|
|
|
sha256 = "06dc59iwxfncz61hs3lcq08c5zrp7x4n4ibk5lpqqx6rk0izzz9b";
|
2016-05-03 18:25:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ click ipy pyyaml requests ];
|
|
|
|
|
|
|
|
doCheck = false; # Tests try to contact the actual remote API
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Command-line interface to the public Gandi.net API";
|
2019-04-22 10:14:28 +02:00
|
|
|
homepage = https://cli.gandi.net/;
|
2016-05-03 18:25:57 +02:00
|
|
|
license = licenses.gpl3Plus;
|
2018-11-30 16:16:28 +01:00
|
|
|
maintainers = with maintainers; [ ckampka ];
|
2016-05-03 18:25:57 +02:00
|
|
|
};
|
|
|
|
}
|