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

27 lines
660 B
Nix
Raw Normal View History

2018-11-30 15:16:28 +00:00
{ stdenv, python3Packages, fetchFromGitHub }:
2018-11-30 15:16:28 +00:00
with python3Packages;
2018-11-30 15:16:28 +00:00
buildPythonApplication rec {
pname = "gandi-cli";
version = "1.3";
src = fetchFromGitHub {
owner = "Gandi";
2018-11-30 15:16:28 +00:00
repo = "gandi.cli";
rev = version;
sha256 = "07i1y88j5awsw7qadk7gnmax8mi7vgh1nflnc8j54z53fjyamlcs";
};
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 = http://cli.gandi.net/;
license = licenses.gpl3Plus;
2018-11-30 15:16:28 +00:00
maintainers = with maintainers; [ ckampka ];
};
}