1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/tools/networking/gandi-cli/default.nix
2019-11-01 18:38:30 -07:00

27 lines
660 B
Nix

{ stdenv, python3Packages, fetchFromGitHub }:
with python3Packages;
buildPythonApplication rec {
pname = "gandi-cli";
version = "1.5";
src = fetchFromGitHub {
owner = "Gandi";
repo = "gandi.cli";
rev = version;
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 ];
};
}