3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/nats-streaming-server/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) ()
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
604 B
Nix

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