1{ lib, buildGoModule, fetchFromGitHub, testers, cli53 }:
2
3buildGoModule rec {
4 pname = "cli53";
5 version = "0.8.22";
6
7 src = fetchFromGitHub {
8 owner = "barnybug";
9 repo = "cli53";
10 rev = version;
11 sha256 = "sha256-wfb3lK/WB/B8gd4BOqh+Ol10cNZdsoCoQ+hM33+goM8=";
12 };
13
14 vendorHash = "sha256-LKJXoXZS866UfJ+Edwf6AkAZmTV2Q1OI1mZfbsxHb3s=";
15
16 ldflags = [
17 "-s"
18 "-w"
19 "-X github.com/barnybug/cli53.version=${version}"
20 ];
21
22 passthru.tests.version = testers.testVersion {
23 package = cli53;
24 };
25
26 meta = with lib; {
27 description = "CLI tool for the Amazon Route 53 DNS service";
28 homepage = "https://github.com/barnybug/cli53";
29 license = licenses.mit;
30 maintainers = with maintainers; [ benley ];
31 };
32}