mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
ff323ed355
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
23 lines
590 B
Nix
23 lines
590 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "v2ray-exporter";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wi1dcard";
|
|
repo = "v2ray-exporter";
|
|
rev = "v${version}";
|
|
sha256 = "12mzng3cw24fyyh8zjfi26gh853k5blzg3zbxcccnv5lryh2r0yi";
|
|
};
|
|
|
|
vendorHash = "sha256-+jrD+QatTrMaAdbxy5mpCm8lF37XDIy1GFyEiUibA2k=";
|
|
|
|
meta = with lib; {
|
|
description = "Prometheus exporter for V2Ray daemon";
|
|
homepage = "https://github.com/wi1dcard/v2ray-exporter";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jqqqqqqqqqq ];
|
|
};
|
|
}
|