slack-term: use buildGoModule
This commit is contained in:
parent
c596556ee2
commit
0907dc851f
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue