nixpkgs-suyu/pkgs/tools/networking/gandi-cli/default.nix

27 lines
662 B
Nix
Raw Normal View History

2018-11-30 16:16:28 +01:00
{ stdenv, python3Packages, fetchFromGitHub }:
2018-11-30 16:16:28 +01:00
with python3Packages;
2018-11-30 16:16:28 +01:00
buildPythonApplication rec {
pname = "gandi-cli";
2019-11-02 02:38:30 +01:00
version = "1.5";
src = fetchFromGitHub {
owner = "Gandi";
2018-11-30 16:16:28 +01:00
repo = "gandi.cli";
rev = version;
2019-11-02 02:38:30 +01:00
sha256 = "1jcabpphlm6qajw8dz0h4gynm03g1mxi0cn900i3v7wdfww1gfab";
};
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";
homepage = "https://cli.gandi.net/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ kampka ];
};
}