forked from mirrors/nixpkgs
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
24 lines
623 B
Nix
24 lines
623 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
# https://github.com/erroneousboat/slack-term
|
|
pname = "slack-term";
|
|
version = "0.4.1";
|
|
|
|
goPackagePath = "github.com/erroneousboat/slack-term";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "erroneousboat";
|
|
repo = "slack-term";
|
|
rev = "v${version}";
|
|
sha256 = "1340bq7h31fxykxbxpn6hv7n2hmjf20f8vg5gan9pjf5jaa6kfza";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Slack client for your terminal";
|
|
homepage = https://github.com/erroneousboat/slack-term;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
};
|
|
}
|