From bd0595ea802616319aa82bc1d4b5441f4032d967 Mon Sep 17 00:00:00 2001 From: Elmar Athmer Date: Thu, 29 Dec 2016 13:52:22 +0100 Subject: [PATCH] vultr: init at 1.12.0 --- lib/maintainers.nix | 1 + pkgs/development/tools/vultr/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 25 insertions(+) create mode 100644 pkgs/development/tools/vultr/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 0306d6802bf9..95b6fc8e6d36 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -507,6 +507,7 @@ yurrriq = "Eric Bailey "; z77z = "Marco Maggesi "; zagy = "Christian Zagrodnick "; + zauberpony = "Elmar Athmer "; zef = "Zef Hemel "; zimbatm = "zimbatm "; zohl = "Al Zohali "; diff --git a/pkgs/development/tools/vultr/default.nix b/pkgs/development/tools/vultr/default.nix new file mode 100644 index 000000000000..fe4b65846511 --- /dev/null +++ b/pkgs/development/tools/vultr/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "vultr-${version}"; + version = "1.12.0"; + goPackagePath = "github.com/JamesClonk/vultr"; + + src = fetchFromGitHub { + owner = "JamesClonk"; + repo = "vultr"; + rev = "${version}"; + sha256 = "0fzwzp0vhf3cgl9ij5zpdyn29w9rwwxghr50jjfbagpkfpy4g686"; + }; + + meta = { + description = "A command line tool for Vultr services, a provider for cloud virtual private servers"; + homepage = "https://github.com/JamesClonk/vultr"; + license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.all; + maintainers = [ stdenv.lib.maintainers.zauberpony ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 72101e97c72a..8651af35c693 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6638,6 +6638,8 @@ in visualvm = callPackage ../development/tools/java/visualvm { }; + vultr = callPackage ../development/tools/vultr { }; + xc3sprog = callPackage ../development/tools/misc/xc3sprog { }; xcbuild = callPackage ../development/tools/xcbuild/wrapper.nix {