3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/gandi-cli/default.nix
Daniel Schaefer bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00

27 lines
661 B
Nix

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