nixpkgs/pkgs/servers/nsq/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

27 lines
625 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "nsq";
version = "1.3.0";
src = fetchFromGitHub {
owner = "nsqio";
repo = "nsq";
rev = "v${version}";
hash = "sha256-qoAp8yAc4lJmlnHHcZskRzkleZ3Q5Gu3Lhk9u1jMR4g=";
};
vendorHash = "sha256-/5nH7zHg8zxWFgtVzSnfp7RZGvPWiuGSEyhx9fE2Pvo=";
excludedPackages = [ "bench" ];
ldflags = [ "-s" "-w" ];
meta = with lib; {
homepage = "https://nsq.io/";
description = "Realtime distributed messaging platform";
changelog = "https://github.com/nsqio/nsq/raw/v${version}/ChangeLog.md";
license = licenses.mit;
};
}