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