gandi-cli: pull out of python-packages.nix

This commit is contained in:
Tobias Geerinckx-Rice 2016-05-03 18:25:57 +02:00
parent 6d55b2e9c0
commit bf81306848
No known key found for this signature in database
GPG Key ID: 91CCDB9B48541B99
3 changed files with 30 additions and 19 deletions

View File

@ -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 ];
};
}

View File

@ -1594,6 +1594,8 @@ in
galen = callPackage ../development/tools/galen {};
gandi-cli = callPackage ../tools/networking/gandi-cli { };
garmin-plugin = callPackage ../applications/misc/garmin-plugin {};
garmintools = callPackage ../development/libraries/garmintools {};

View File

@ -5785,25 +5785,6 @@ in modules // {
};
};
gandi-cli = buildPythonPackage rec {
name = "gandi-cli-${version}";
version = "0.18";
src = pkgs.fetchFromGitHub {
sha256 = "045gnz345nfbi1g7j3gcyzrxrx3hcidaxzr05cb49rcr8nmqh1s3";
rev = version;
repo = "gandi.cli";
owner = "Gandi";
};
propagatedBuildInputs = with self; [ click ipy pyyaml requests ];
doCheck = false; # Tests try to contact the actual remote API
meta = {
homepage = http://cli.gandi.net/;
description = "Command-line interface to the public Gandi.net API";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ nckx ];
};
};
gateone = buildPythonPackage rec {
name = "gateone-1.2-0d57c3";
disabled = ! isPy27;