diff options
author | Langston Barrett <langston.barrett@gmail.com> | 2016-07-19 12:30:35 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-07-19 12:30:35 +0200 |
commit | c40a0b50f759be0160eb7e16931f6de394c4939b (patch) | |
tree | 75f0fbadb394699be843a1e5c0855bf148afdc99 /pkgs/development/tools/doctl | |
parent | 4aea0ba917cf4b6f86c31183f395db8f5a692c98 (diff) |
doctl: init at 1.3.1 (#17066)
Diffstat (limited to 'pkgs/development/tools/doctl')
-rw-r--r-- | pkgs/development/tools/doctl/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/tools/doctl/default.nix b/pkgs/development/tools/doctl/default.nix new file mode 100644 index 000000000000..4a7d1bf87e31 --- /dev/null +++ b/pkgs/development/tools/doctl/default.nix @@ -0,0 +1,23 @@ +{ stdenv, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "doctl-${version}"; + version = "1.3.1"; + rev = "a57555c195d06bc7aa5037af77fde0665ad1231f"; + goPackagePath = "github.com/digitalocean/doctl"; + + src = fetchFromGitHub { + owner = "digitalocean"; + repo = "doctl"; + rev = "${rev}"; + sha256 = "03z652fw0a628gv666w8vpi05a4sdilvs1j5scjhcbi82zsbkvma"; + }; + + meta = { + description = "A command line tool for DigitalOcean services"; + homepage = "https://github.com/digitalocean/doctl"; + license = stdenv.lib.licenses.asl20; + platforms = stdenv.lib.platforms.all; + maintainers = [ stdenv.lib.maintainers.siddharthist ]; + }; +} |