slack-term: use buildGoModule

This commit is contained in:
Azat Bahawi 2022-06-05 21:27:06 +03:00 committed by ehmry
parent c596556ee2
commit 0907dc851f

View File

@ -1,18 +1,16 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
# https://github.com/erroneousboat/slack-term
buildGoModule rec {
pname = "slack-term";
version = "0.5.0";
goPackagePath = "github.com/erroneousboat/slack-term";
src = fetchFromGitHub {
owner = "erroneousboat";
repo = "slack-term";
rev = "v${version}";
sha256 = "1fbq7bdhy70hlkklppimgdjamnk0v059pg73xm9ax1f4616ki1m6";
};
vendorSha256 = null;
meta = with lib; {
description = "Slack client for your terminal";