2016-12-29 13:52:22 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "vultr-${version}";
|
2017-03-21 12:54:34 +01:00
|
|
|
version = "1.13.0";
|
2016-12-29 13:52:22 +01:00
|
|
|
goPackagePath = "github.com/JamesClonk/vultr";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "JamesClonk";
|
|
|
|
repo = "vultr";
|
|
|
|
rev = "${version}";
|
2017-03-21 12:54:34 +01:00
|
|
|
sha256 = "0xjalxl2yncrhbh4m2gyg3cahv3wvq782qd668vim6qks676d9nx";
|
2016-12-29 13:52:22 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|