about summary refs log tree commit diff
path: root/pkgs/tools/admin/cli53/default.nix
blob: 5c80e76f482f87c96da844ff6bbb7396fddc044d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "cli53-${version}";
  version = "0.8.8";

  goPackagePath = "github.com/barnybug/cli53";

  src = fetchFromGitHub {
    owner = "barnybug";
    repo = "cli53";
    rev = version;
    sha256 = "1hbx64rn25qzp2xlfwv8xaqyfcax9b6pl30j9vciw7cb346i84gc";
  };

  buildPhase = ''
    pushd go/src/${goPackagePath}/cmd/cli53
    go get .
    popd
  '';

  goDeps = ./deps.nix;

  meta = with stdenv.lib; {
    description = "CLI tool for the Amazon Route 53 DNS service";
    homepage = https://github.com/barnybug/cli53;
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ benley ];
  };
}