2016-05-03 17:25:57 +01:00
|
|
|
{ stdenv, pythonPackages, fetchFromGitHub }:
|
|
|
|
|
|
|
|
with pythonPackages;
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
namePrefix = "";
|
|
|
|
name = "gandi-cli-${version}";
|
2016-08-03 19:05:40 +01:00
|
|
|
version = "0.19";
|
2016-05-03 17:25:57 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2016-08-03 19:05:40 +01:00
|
|
|
sha256 = "0xbf97p75zl6sjxqcgmaa4p5rax2h6ixn8srwdr4rsx2zz9dpwgp";
|
2016-05-03 17:25:57 +01:00
|
|
|
rev = version;
|
|
|
|
repo = "gandi.cli";
|
|
|
|
owner = "Gandi";
|
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|