depot/pkgs/by-name/dn/dnslookup/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

28 lines
730 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "dnslookup";
version = "1.11.1";
src = fetchFromGitHub {
owner = "ameshkov";
repo = "dnslookup";
rev = "refs/tags/v${version}";
hash = "sha256-zgEW4ANIlwF0f6YqTQicGhGgLc9RaL7Xy0wg/ICzOK4=";
};
vendorHash = "sha256-pdnKYsXBw/IjakUyQym4thnO3gXgvwNm80Ha8AUVt54=";
meta = {
changelog = "https://github.com/ameshkov/dnslookup/releases/tag/v${version}";
description = "Simple command line utility to make DNS lookups to the specified server";
homepage = "https://github.com/ameshkov/dnslookup";
license = lib.licenses.mit;
mainProgram = "dnslookup";
maintainers = [ lib.maintainers.philiptaron ];
};
}