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