Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
34 lines
936 B
Nix
34 lines
936 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
stdenv,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "ali";
|
|
version = "0.7.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nakabonne";
|
|
repo = "ali";
|
|
tag = "v${version}";
|
|
hash = "sha256-/pdHlI20IzSTX2pnsbxPiJiWmOCbp13eJWLi0Tcsueg=";
|
|
};
|
|
|
|
vendorHash = "sha256-YWx9K04kTMaI0FXebwRQVCt0nxIwZ6xlbtI2lk3qp0M=";
|
|
|
|
meta = {
|
|
description = "Generate HTTP load and plot the results in real-time";
|
|
homepage = "https://github.com/nakabonne/ali";
|
|
changelog = "https://github.com/nakabonne/ali/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
|
maintainers = with lib.maintainers; [ farcaller ];
|
|
mainProgram = "ali";
|
|
# Broken on darwin for Go toolchain > 1.22, with error:
|
|
# 'link: golang.org/x/net/internal/socket: invalid reference to syscall.recvmsg'
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
};
|
|
}
|