gandi-cli: pull out of python-packages.nix
This commit is contained in:
parent
6d55b2e9c0
commit
bf81306848
28
pkgs/tools/networking/gandi-cli/default.nix
Normal file
28
pkgs/tools/networking/gandi-cli/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1594,6 +1594,8 @@ in
|
|||||||
|
|
||||||
galen = callPackage ../development/tools/galen {};
|
galen = callPackage ../development/tools/galen {};
|
||||||
|
|
||||||
|
gandi-cli = callPackage ../tools/networking/gandi-cli { };
|
||||||
|
|
||||||
garmin-plugin = callPackage ../applications/misc/garmin-plugin {};
|
garmin-plugin = callPackage ../applications/misc/garmin-plugin {};
|
||||||
|
|
||||||
garmintools = callPackage ../development/libraries/garmintools {};
|
garmintools = callPackage ../development/libraries/garmintools {};
|
||||||
|
@ -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 {
|
gateone = buildPythonPackage rec {
|
||||||
name = "gateone-1.2-0d57c3";
|
name = "gateone-1.2-0d57c3";
|
||||||
disabled = ! isPy27;
|
disabled = ! isPy27;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user