doggo: remove package

It is available in upstream nixpkgs so no need to have this.
This commit is contained in:
Gabriel Arazas 2022-11-05 15:40:14 +08:00
parent 9b4e76a437
commit 3f84a29f13
2 changed files with 0 additions and 33 deletions

View File

@ -17,7 +17,6 @@ let
freerct = callPackage ./freerct.nix { };
furtherance = callPackage ./furtherance { };
distant = callPackage ./distant.nix { };
doggo = callPackage ./doggo.nix { };
gol-c = callPackage ./gol-c.nix { };
gnome-search-provider-recoll =
callPackage ./gnome-search-provider-recoll.nix { };

View File

@ -1,32 +0,0 @@
{ stdenv, lib, fetchFromGitHub, buildGoModule, installShellFiles }:
buildGoModule rec {
pname = "doggo";
version = "0.5.4";
subPackages = [ "cmd/doggo" "cmd/api" ];
src = fetchFromGitHub {
owner = "mr-karan";
repo = "doggo";
rev = "v${version}";
sha256 = "sha256-6jNs8vigrwKk47Voe42J9QYMTP7KnNAtJ5vFZTUW680=";
};
ldflags = [ "-X main.buildVersion=v${version}" ];
nativeBuildInputs = [ installShellFiles ];
vendorSha256 = "sha256-pyzu89HDFrMQqYJZC2vdqzOc6PiAbqhaTgYakmN0qj8=";
postInstall = ''
# The binary names come from the Makefile only without the '.bin. extension.
mv $out/bin/{api,doggo-api}
installShellCompletion completions/doggo.{fish,zsh}
'';
meta = with lib; {
description = "HTTP DNS client for humans";
homepage = "https://github.com/mr-karan/doggo";
license = licenses.mit;
};
}