2022-04-17 02:34:21 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, testers, cli53 }:
|
2015-05-24 03:38:51 +02:00
|
|
|
|
2022-04-17 02:34:21 +02:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "cli53";
|
2023-03-02 19:33:00 +01:00
|
|
|
version = "0.8.22";
|
2017-07-29 13:03:07 +02:00
|
|
|
|
2018-07-26 17:38:26 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "barnybug";
|
|
|
|
repo = "cli53";
|
2022-04-17 02:34:21 +02:00
|
|
|
rev = version;
|
2023-03-02 19:33:00 +01:00
|
|
|
sha256 = "sha256-wfb3lK/WB/B8gd4BOqh+Ol10cNZdsoCoQ+hM33+goM8=";
|
2022-04-17 02:34:21 +02:00
|
|
|
};
|
|
|
|
|
2023-02-25 02:50:01 +01:00
|
|
|
vendorHash = "sha256-LKJXoXZS866UfJ+Edwf6AkAZmTV2Q1OI1mZfbsxHb3s=";
|
2022-04-17 02:34:21 +02:00
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
"-X github.com/barnybug/cli53.version=${version}"
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
|
|
package = cli53;
|
2018-07-26 17:38:26 +02:00
|
|
|
};
|
2017-07-29 13:03:07 +02:00
|
|
|
|
2017-06-22 01:59:41 +02:00
|
|
|
meta = with lib; {
|
2015-05-24 03:38:51 +02:00
|
|
|
description = "CLI tool for the Amazon Route 53 DNS service";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/barnybug/cli53";
|
2017-06-18 14:14:10 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ benley ];
|
2015-05-24 03:38:51 +02:00
|
|
|
};
|
|
|
|
}
|