Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "dnslookup";
9 version = "1.11.1";
10
11 src = fetchFromGitHub {
12 owner = "ameshkov";
13 repo = "dnslookup";
14 tag = "v${version}";
15 hash = "sha256-zgEW4ANIlwF0f6YqTQicGhGgLc9RaL7Xy0wg/ICzOK4=";
16 };
17
18 vendorHash = "sha256-pdnKYsXBw/IjakUyQym4thnO3gXgvwNm80Ha8AUVt54=";
19
20 meta = {
21 changelog = "https://github.com/ameshkov/dnslookup/releases/tag/v${version}";
22 description = "Simple command line utility to make DNS lookups to the specified server";
23 homepage = "https://github.com/ameshkov/dnslookup";
24 license = lib.licenses.mit;
25 mainProgram = "dnslookup";
26 maintainers = [ lib.maintainers.philiptaron ];
27 };
28}