nixpkgs/pkgs/tools/admin/cli53/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
746 B
Nix
Raw Normal View History

2022-04-17 00:34:21 +00:00
{ lib, buildGoModule, fetchFromGitHub, testers, cli53 }:
2022-04-17 00:34:21 +00:00
buildGoModule rec {
pname = "cli53";
2022-04-17 00:34:21 +00:00
version = "0.8.18";
2017-07-29 11:03:07 +00:00
src = fetchFromGitHub {
owner = "barnybug";
repo = "cli53";
2022-04-17 00:34:21 +00: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;
};
2017-07-29 11:03:07 +00:00
2017-06-21 23:59:41 +00:00
meta = with lib; {
description = "CLI tool for the Amazon Route 53 DNS service";
homepage = "https://github.com/barnybug/cli53";
2017-06-18 12:14:10 +00:00
license = licenses.mit;
maintainers = with maintainers; [ benley ];
};
}