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