mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-17 21:35:36 +00:00
29 lines
752 B
Nix
29 lines
752 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "dnslookup";
|
|
version = "1.12.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ameshkov";
|
|
repo = "dnslookup";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-RxplKQ21mskowAoMpgl4OVRyO7y89XS9CDcFd0RZVIg=";
|
|
};
|
|
|
|
vendorHash = "sha256-DSicC/NbLOku7kYw1Ketur5qGk3Nh66Kj3NZoP7X524=";
|
|
|
|
meta = {
|
|
changelog = "https://github.com/ameshkov/dnslookup/releases/tag/v${finalAttrs.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 ];
|
|
};
|
|
})
|