2022-05-02 04:53:06 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2016-08-15 01:17:36 +00:00
|
|
|
|
2022-05-02 04:53:06 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "matterircd";
|
2022-05-02 04:53:06 +00:00
|
|
|
version = "0.25.1";
|
2016-08-15 01:17:36 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "42wim";
|
|
|
|
repo = "matterircd";
|
|
|
|
rev = "v${version}";
|
2022-05-02 04:53:06 +00:00
|
|
|
sha256 = "sha256-qglr0QN0ca6waxhwEFgYP9RHvTJ4YVn90vl+crcktao=";
|
2016-08-15 01:17:36 +00:00
|
|
|
};
|
|
|
|
|
2022-05-02 04:53:06 +00:00
|
|
|
vendorSha256 = null;
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
2016-08-15 01:17:36 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-08-15 01:17:36 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Minimal IRC server bridge to Mattermost";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fpletz ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|