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