1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

Merge pull request #142283 from marsam/update-nsq

nsq: 0.3.5 -> 1.2.1
This commit is contained in:
Mario Rodas 2021-10-27 08:40:48 -05:00 committed by GitHub
commit e29cb6cb57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 93 deletions

View file

@ -1,18 +1,26 @@
{ buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "nsq";
version = "0.3.5";
rev = "v${version}";
goPackagePath = "github.com/bitly/nsq";
version = "1.2.1";
src = fetchFromGitHub {
inherit rev;
owner = "bitly";
owner = "nsqio";
repo = "nsq";
sha256 = "1r7jgplzn6bgwhd4vn8045n6cmm4iqbzssbjgj7j1c28zbficy2f";
rev = "v${version}";
sha256 = "0ajqjwfn06zsmz21z9mkl4cblarypaf20228pqcd1293zl6y3ry8";
};
goDeps = ./deps.nix;
vendorSha256 = "11sx96zshaciqrm8rqmhz1sf6nd4lczqwiha031xyyifvmpp2hsa";
excludedPackages = [ "bench" ];
ldflags = [ "-s" "-w" ];
meta = with lib; {
homepage = "https://nsq.io/";
description = "A realtime distributed messaging platform";
changelog = "https://github.com/nsqio/nsq/raw/v${version}/ChangeLog.md";
license = licenses.mit;
};
}

View file

@ -1,83 +0,0 @@
[
{
goPackagePath = "github.com/mreiferson/go-snappystream";
fetch = {
type = "git";
url = "https://github.com/mreiferson/go-snappystream";
rev = "028eae7ab5c4c9e2d1cb4c4ca1e53259bbe7e504";
sha256 = "0jdd5whp74nvg35d9hzydsi3shnb1vrnd7shi9qz4wxap7gcrid6";
};
}
{
goPackagePath = "github.com/bitly/go-nsq";
fetch = {
type = "git";
url = "https://github.com/bitly/go-nsq";
rev = "22a8bd48c443ec23bb559675b6df8284bbbdab29";
sha256 = "06hrkwk84w8rshkanvfgmgbiml7n06ybv192dvibhwgk2wz2dl46";
};
}
{
goPackagePath = "github.com/bitly/go-simplejson";
fetch = {
type = "git";
url = "https://github.com/bitly/go-simplejson";
rev = "18db6e68d8fd9cbf2e8ebe4c81a78b96fd9bf05a";
sha256 = "0lj9cxyncchlw6p35j0yym5q5waiz0giw6ri41qdwm8y3dghwwiy";
};
}
{
goPackagePath = "github.com/blang/semver";
fetch = {
type = "git";
url = "https://github.com/blang/semver";
rev = "9bf7bff48b0388cb75991e58c6df7d13e982f1f2";
sha256 = "11sinbf942dpyc9wdpidkhmqn438cfp5n8x3xqnmq9aszkld9hy7";
};
}
{
goPackagePath = "github.com/bmizerany/perks";
fetch = {
type = "git";
url = "https://github.com/bmizerany/perks";
rev = "6cb9d9d729303ee2628580d9aec5db968da3a607";
sha256 = "0cdh84hmn21is6hvv6dy9qjdcg9w3l2k8avlk0881a8cqm09s90j";
};
}
{
goPackagePath = "github.com/BurntSushi/toml";
fetch = {
type = "git";
url = "https://github.com/BurntSushi/toml";
rev = "056c9bc7be7190eaa7715723883caffa5f8fa3e4";
sha256 = "0gkgkw04ndr5y7hrdy0r4v2drs5srwfcw2bs1gyas066hwl84xyw";
};
}
{
goPackagePath = "github.com/bitly/go-hostpool";
fetch = {
type = "git";
url = "https://github.com/bitly/go-hostpool";
rev = "d0e59c22a56e8dadfed24f74f452cea5a52722d2";
sha256 = "14ph12krn5zlg00vh9g6g08lkfjxnpw46nzadrfb718yl1hgyk3g";
};
}
{
goPackagePath = "github.com/bitly/timer_metrics";
fetch = {
type = "git";
url = "https://github.com/bitly/timer_metrics";
rev = "afad1794bb13e2a094720aeb27c088aa64564895";
sha256 = "1b717vkwj63qb5kan4b92kx4rg6253l5mdb3lxpxrspy56a6rl0c";
};
}
{
goPackagePath = "github.com/mreiferson/go-options";
fetch = {
type = "git";
url = "https://github.com/mreiferson/go-options";
rev = "7c174072188d0cfbe6f01bb457626abb22bdff52";
sha256 = "0ksyi2cb4k6r2fxamljg42qbz5hdcb9kv5i7y6cx4ajjy0xznwgm";
};
}
]