dput-ng: fix eval (#364540)
[NixPkgs.git] / pkgs / by-name / dn / dnslookup / package.nix
blob8491c0597a691ca48edcda02707f2372fa5f70fa
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "dnslookup";
9   version = "1.11.1";
11   src = fetchFromGitHub {
12     owner = "ameshkov";
13     repo = "dnslookup";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-zgEW4ANIlwF0f6YqTQicGhGgLc9RaL7Xy0wg/ICzOK4=";
16   };
18   vendorHash = "sha256-pdnKYsXBw/IjakUyQym4thnO3gXgvwNm80Ha8AUVt54=";
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   };