default.nix (831B)
1 { lib, buildGoModule, fetchFromGitHub }: 2 3 buildGoModule rec { 4 pname = "emitter"; 5 version = "3.0"; 6 7 src = fetchFromGitHub { 8 owner = "emitter-io"; 9 repo = "emitter"; 10 rev = "v${version}"; 11 hash = "sha256-oLTAWw6JgW8yF+pvAhQtaATvOpA/8tKN+pGZQXYYv6c="; 12 }; 13 14 postPatch = '' 15 substituteInPlace internal/provider/monitor/statsd_test.go \ 16 --replace "TestStatsd_Configure" "SkipStatsd_Configure" 17 ''; 18 19 vendorHash = "sha256-5BeYdznpopkz4XhdKu5MXZ5qhpHntAe+h17XsKLrGd0="; 20 21 preCheck = '' 22 export HOME=$TMPDIR 23 ''; 24 25 doCheck = false; 26 27 meta = with lib; { 28 description = "High performance, distributed and low latency publish-subscribe platform"; 29 homepage = "https://emitter.io/"; 30 license = licenses.agpl3Plus; 31 maintainers = [ maintainers.sikmir ]; 32 platforms = platforms.unix; 33 }; 34 }