{ buildGoPackage, fetchFromGitHub, lib }: with lib; buildGoPackage rec { pname = "nats-streaming-server"; version = "0.21.0"; goPackagePath = "github.com/nats-io/${pname}"; src = fetchFromGitHub { rev = "v${version}"; owner = "nats-io"; repo = pname; sha256 = "sha256-vZFX5YDf722c7xc4oh4SoL91s7XuZsXzFxW+i//mOUw="; }; meta = { description = "NATS Streaming System Server"; license = licenses.asl20; maintainers = [ maintainers.swdunlop ]; homepage = "https://nats.io/"; }; }