From 477440f9d79294108d0437dbc9a3d354a42897d8 Mon Sep 17 00:00:00 2001 From: Vladimir Pouzanov Date: Mon, 27 Feb 2023 17:36:01 +0000 Subject: [PATCH 1/2] ali: init at 0.7.5 Adds ali, the HTTP benchmark tool that plots the results in real time. --- pkgs/tools/networking/ali/default.nix | 26 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/tools/networking/ali/default.nix diff --git a/pkgs/tools/networking/ali/default.nix b/pkgs/tools/networking/ali/default.nix new file mode 100644 index 000000000000..f65829c9906b --- /dev/null +++ b/pkgs/tools/networking/ali/default.nix @@ -0,0 +1,26 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "ali"; + version = "0.7.5"; + + src = fetchFromGitHub { + owner = "nakabonne"; + repo = "ali"; + rev = "refs/tags/v${version}"; + hash = "sha256-/pdHlI20IzSTX2pnsbxPiJiWmOCbp13eJWLi0Tcsueg="; + }; + + vendorHash = "sha256-YWx9K04kTMaI0FXebwRQVCt0nxIwZ6xlbtI2lk3qp0M="; + + meta = with lib; { + description = "Generate HTTP load and plot the results in real-time"; + homepage = "https://github.com/nakabonne/ali"; + license = licenses.mit; + platforms = platforms.linux ++ platforms.darwin; + maintainers = with maintainers; [ farcaller ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6c805f3ecd27..95c658e8df50 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -39320,4 +39320,6 @@ with pkgs; volantes-cursors = callPackage ../data/icons/volantes-cursors { }; gnss-share = callPackage ../servers/gnss-share { }; + + ali = callPackage ../tools/networking/ali { }; } From b04834c267d1a4a7752f42156fe640a4de4955df Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 2 Mar 2023 08:53:00 +0100 Subject: [PATCH 2/2] ali: add changelog to meta --- pkgs/tools/networking/ali/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/networking/ali/default.nix b/pkgs/tools/networking/ali/default.nix index f65829c9906b..53403b636785 100644 --- a/pkgs/tools/networking/ali/default.nix +++ b/pkgs/tools/networking/ali/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { 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 = licenses.mit; platforms = platforms.linux ++ platforms.darwin; maintainers = with maintainers; [ farcaller ];