depot/third_party/nixpkgs/pkgs/servers/nats-streaming-server/default.nix

24 lines
535 B
Nix
Raw Normal View History

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