Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 32 lines 746 B view raw
1{ lib, buildGoModule, fetchFromGitHub, testers, cli53 }: 2 3buildGoModule rec { 4 pname = "cli53"; 5 version = "0.8.18"; 6 7 src = fetchFromGitHub { 8 owner = "barnybug"; 9 repo = "cli53"; 10 rev = version; 11 sha256 = "sha256-RgU4+/FQEqNpVxBktZUwoVD9ilLrTm5ZT7D8jbt2sRM="; 12 }; 13 14 vendorSha256 = "sha256-uqBa2YrQwXdTemP9yB2otkSFWJqDxw/NAvIvlEbhk90="; 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}