{ lib, stdenv, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { pname = "matterircd"; version = "0.20.0"; src = fetchFromGitHub { owner = "42wim"; repo = "matterircd"; rev = "v${version}"; sha256 = "0rnkzxf953nd67w33ghmrfjfg099cd21nldm31q8pk7fs1mgjnld"; }; goPackagePath = "github.com/42wim/matterircd"; meta = with lib; { inherit (src.meta) homepage; description = "Minimal IRC server bridge to Mattermost"; license = licenses.mit; maintainers = with maintainers; [ fpletz ]; platforms = platforms.unix; }; }