ircdog: use buildGoModule

This commit is contained in:
Azat Bahawi 2022-06-05 21:43:33 +03:00
parent 260653fe9b
commit cc2548ae81
No known key found for this signature in database
GPG key ID: C8C6BDDB3847F72B

View file

@ -1,14 +1,12 @@
{ lib { lib
, buildGoPackage , buildGoModule
, fetchFromGitHub , fetchFromGitHub
}: }:
buildGoPackage rec { buildGoModule rec {
pname = "ircdog"; pname = "ircdog";
version = "0.3.0"; version = "0.3.0";
goPackagePath = "github.com/ergochat/ircdog";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "goshuirc"; owner = "goshuirc";
repo = pname; repo = pname;
@ -16,6 +14,7 @@ buildGoPackage rec {
sha256 = "sha256-x3ihWLgVYu17vG1xQTgIr4TSkeZ467TZBV1fPTPnZgw="; sha256 = "sha256-x3ihWLgVYu17vG1xQTgIr4TSkeZ467TZBV1fPTPnZgw=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
vendorSha256 = null;
meta = with lib; { meta = with lib; {
description = "ircdog is a simple wrapper over the raw IRC protocol that can respond to pings, and interprets formatting codes"; description = "ircdog is a simple wrapper over the raw IRC protocol that can respond to pings, and interprets formatting codes";