diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2016-05-03 18:25:57 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2016-05-03 18:28:23 +0200 |
commit | bf8130684878747be7b1cc393f8aa147c500f14f (patch) | |
tree | 36514b692ee9d98a22ddf0b76ed8dc95d44e0e13 /pkgs/tools/networking/gandi-cli | |
parent | 6d55b2e9c0a8bd72cb4375c55a5789682cb96b1c (diff) |
gandi-cli: pull out of python-packages.nix
Diffstat (limited to 'pkgs/tools/networking/gandi-cli')
-rw-r--r-- | pkgs/tools/networking/gandi-cli/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/networking/gandi-cli/default.nix b/pkgs/tools/networking/gandi-cli/default.nix new file mode 100644 index 0000000000000..2f95123ba2122 --- /dev/null +++ b/pkgs/tools/networking/gandi-cli/default.nix @@ -0,0 +1,28 @@ +{ stdenv, pythonPackages, fetchFromGitHub }: + +with pythonPackages; + +buildPythonPackage rec { + namePrefix = ""; + name = "gandi-cli-${version}"; + version = "0.18"; + + src = fetchFromGitHub { + sha256 = "045gnz345nfbi1g7j3gcyzrxrx3hcidaxzr05cb49rcr8nmqh1s3"; + 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; + maintainers = with maintainers; [ nckx ]; + }; +} + |