mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 21:49:34 +03:00
goarista: init at 0-unstable-2025-03-24
This commit is contained in:
parent
20f510d555
commit
9e044e724d
1 changed files with 36 additions and 0 deletions
36
pkgs/by-name/go/goarista/package.nix
Normal file
36
pkgs/by-name/go/goarista/package.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
buildGoModule,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule {
|
||||||
|
pname = "goarista";
|
||||||
|
version = "0-unstable-2025-03-24";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "aristanetworks";
|
||||||
|
repo = "goarista";
|
||||||
|
rev = "2af7f36a2220911d96d9d5cf8dee641a7c01eb07";
|
||||||
|
hash = "sha256-M/gZVn4ioaxRwbqlee3yeRfWIjaG6mFq2Z+XL5mGjoA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-5vdVHTQOXsYc8EdEGEAXk2ZX/6o88gHxBzfwETcwXvA=";
|
||||||
|
|
||||||
|
checkFlags =
|
||||||
|
let
|
||||||
|
skippedTests = [
|
||||||
|
"TestDeepSizeof"
|
||||||
|
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "TestDialTCPTimeoutWithTOS" ];
|
||||||
|
in
|
||||||
|
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Collection of open-source tools for network management and monitoring mostly based around gNMI";
|
||||||
|
homepage = "https://github.com/aristanetworks/goarista";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = [ lib.maintainers.haylin ];
|
||||||
|
mainProgram = "gnmi";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue