2022-04-17 01:34:21 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, testers, cli53 }:
|
2015-05-24 02:38:51 +01:00
|
|
|
|
2022-04-17 01:34:21 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "cli53";
|
2022-04-17 01:34:21 +01:00
|
|
|
version = "0.8.18";
|
2017-07-29 12:03:07 +01:00
|
|
|
|
2018-07-26 16:38:26 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "barnybug";
|
|
|
|
repo = "cli53";
|
2022-04-17 01:34:21 +01:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-RgU4+/FQEqNpVxBktZUwoVD9ilLrTm5ZT7D8jbt2sRM=";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = "sha256-uqBa2YrQwXdTemP9yB2otkSFWJqDxw/NAvIvlEbhk90=";
|
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
"-X github.com/barnybug/cli53.version=${version}"
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
|
|
package = cli53;
|
2018-07-26 16:38:26 +01:00
|
|
|
};
|
2017-07-29 12:03:07 +01:00
|
|
|
|
2017-06-22 00:59:41 +01:00
|
|
|
meta = with lib; {
|
2015-05-24 02:38:51 +01:00
|
|
|
description = "CLI tool for the Amazon Route 53 DNS service";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/barnybug/cli53";
|
2017-06-18 13:14:10 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ benley ];
|
2015-05-24 02:38:51 +01:00
|
|
|
};
|
|
|
|
}
|