2022-04-27 09:35:20 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, testers, cli53 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "cli53";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "0.8.22";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "barnybug";
|
|
|
|
repo = "cli53";
|
2022-04-27 09:35:20 +00:00
|
|
|
rev = version;
|
2023-03-04 12:14:45 +00:00
|
|
|
sha256 = "sha256-wfb3lK/WB/B8gd4BOqh+Ol10cNZdsoCoQ+hM33+goM8=";
|
2022-04-27 09:35:20 +00:00
|
|
|
};
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
vendorHash = "sha256-LKJXoXZS866UfJ+Edwf6AkAZmTV2Q1OI1mZfbsxHb3s=";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
"-X github.com/barnybug/cli53.version=${version}"
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
|
|
package = cli53;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "CLI tool for the Amazon Route 53 DNS service";
|
|
|
|
homepage = "https://github.com/barnybug/cli53";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ benley ];
|
|
|
|
};
|
|
|
|
}
|