Merge pull request #186894 from GeorgesAlkhouri/submit/doggo
This commit is contained in:
commit
2f42903346
@ -4833,6 +4833,15 @@
|
|||||||
fingerprint = "386E D1BF 848A BB4A 6B4A 3C45 FC83 907C 125B C2BC";
|
fingerprint = "386E D1BF 848A BB4A 6B4A 3C45 FC83 907C 125B C2BC";
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
georgesalkhouri = {
|
||||||
|
name = "Georges Alkhouri";
|
||||||
|
email = "incense.stitch_0w@icloud.com";
|
||||||
|
github = "GeorgesAlkhouri";
|
||||||
|
githubId = 6077574;
|
||||||
|
keys = [{
|
||||||
|
fingerprint = "1608 9E8D 7C59 54F2 6A7A 7BD0 8BD2 09DC C54F D339";
|
||||||
|
}];
|
||||||
|
};
|
||||||
georgewhewell = {
|
georgewhewell = {
|
||||||
email = "georgerw@gmail.com";
|
email = "georgerw@gmail.com";
|
||||||
github = "georgewhewell";
|
github = "georgewhewell";
|
||||||
|
44
pkgs/tools/networking/doggo/default.nix
Normal file
44
pkgs/tools/networking/doggo/default.nix
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
, installShellFiles
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "doggo";
|
||||||
|
version = "0.5.4";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mr-karan";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-6jNs8vigrwKk47Voe42J9QYMTP7KnNAtJ5vFZTUW680=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-pyzu89HDFrMQqYJZC2vdqzOc6PiAbqhaTgYakmN0qj8=";
|
||||||
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
subPackages = [ "cmd/doggo" ];
|
||||||
|
|
||||||
|
ldflags = [
|
||||||
|
"-w -s"
|
||||||
|
"-X main.buildVersion=v${version}"
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installShellCompletion --cmd doggo \
|
||||||
|
--fish --name doggo.fish completions/doggo.fish \
|
||||||
|
--zsh --name _doggo completions/doggo.zsh
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/mr-karan/doggo";
|
||||||
|
description = "Command-line DNS Client for Humans. Written in Golang";
|
||||||
|
longDescription = ''
|
||||||
|
doggo is a modern command-line DNS client (like dig) written in Golang.
|
||||||
|
It outputs information in a neat concise manner and supports protocols like DoH, DoT, DoQ, and DNSCrypt as well
|
||||||
|
'';
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ georgesalkhouri ];
|
||||||
|
};
|
||||||
|
}
|
@ -5819,6 +5819,8 @@ with pkgs;
|
|||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
doggo = callPackage ../tools/networking/doggo { };
|
||||||
|
|
||||||
dosfstools = callPackage ../tools/filesystems/dosfstools { };
|
dosfstools = callPackage ../tools/filesystems/dosfstools { };
|
||||||
|
|
||||||
dotnetfx35 = callPackage ../development/libraries/dotnetfx35 { };
|
dotnetfx35 = callPackage ../development/libraries/dotnetfx35 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user