nats-server: 2.7.0 -> 2.7.2
convert to buildGoModule
This commit is contained in:
parent
7a6506fc79
commit
270c351bdf
|
@ -1,21 +1,21 @@
|
||||||
{ buildGoPackage, fetchFromGitHub, lib }:
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
with lib;
|
buildGoModule rec {
|
||||||
|
|
||||||
buildGoPackage rec {
|
|
||||||
pname = "nats-server";
|
pname = "nats-server";
|
||||||
version = "2.7.0";
|
version = "2.7.2";
|
||||||
|
|
||||||
goPackagePath = "github.com/nats-io/${pname}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "nats-io";
|
owner = "nats-io";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
sha256 = "sha256-LQ817nZrFkF1zdj2m2SQK58BqDbUPSnncSWR+Woi+Ao=";
|
sha256 = "0w4hjz1x6zwcxhnd1y3874agyn8nsdra4fky6kc2rrfikjcw003y";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
vendorSha256 = "1gvvjwx1g8mhcqi3ssb3k5ylkz0afpmnf6h2zfny9rc4dk2cp2dy";
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "High-Performance server for NATS";
|
description = "High-Performance server for NATS";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ swdunlop derekcollison ];
|
maintainers = with maintainers; [ swdunlop derekcollison ];
|
||||||
|
|
Loading…
Reference in a new issue