From 3f84a29f13c8917b469c192fdb2355212be880fe Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 5 Nov 2022 15:40:14 +0800 Subject: [PATCH] doggo: remove package It is available in upstream nixpkgs so no need to have this. --- pkgs/default.nix | 1 - pkgs/doggo.nix | 32 -------------------------------- 2 files changed, 33 deletions(-) delete mode 100644 pkgs/doggo.nix diff --git a/pkgs/default.nix b/pkgs/default.nix index 32de8585..80feb5b9 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -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 { }; diff --git a/pkgs/doggo.nix b/pkgs/doggo.nix deleted file mode 100644 index be4daa35..00000000 --- a/pkgs/doggo.nix +++ /dev/null @@ -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; - }; -}