mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
25 lines
664 B
Nix
25 lines
664 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "flow-exporter";
|
|
version = "1.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "neptune-networks";
|
|
repo = pname;
|
|
sha256 = "sha256-6FqupoYWRvex7XhM7ly8f7ICnuS9JvCRIVEBIJe+64k=";
|
|
};
|
|
|
|
vendorHash = "sha256-2raOUOPiMUMydIsfSsnwUAAiM7WyMio1NgL1EoADr2s=";
|
|
|
|
meta = with lib; {
|
|
description = "Export network flows from kafka to Prometheus";
|
|
mainProgram = "flow-exporter";
|
|
homepage = "https://github.com/neptune-networks/flow-exporter";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kloenk ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|