From d5b61132078091dcbb3afa9174daa8ddb3a0ef32 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Fri, 14 Aug 2026 10:30:25 +0200 Subject: [PATCH] add monitui Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- default.nix | 1 + pkgs/monitui/default.nix | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/monitui/default.nix diff --git a/default.nix b/default.nix index 302a4d9..c725fc8 100644 --- a/default.nix +++ b/default.nix @@ -11,4 +11,5 @@ jwt-tui = pkgs.callPackage ./pkgs/jwt-tui {}; sheets = pkgs.callPackage ./pkgs/sheets {}; fztea = pkgs.callPackage ./pkgs/fztea {}; + monitui = pkgs.callPackage ./pkgs/monitui {}; } diff --git a/pkgs/monitui/default.nix b/pkgs/monitui/default.nix new file mode 100644 index 0000000..d9e7bae --- /dev/null +++ b/pkgs/monitui/default.nix @@ -0,0 +1,27 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, +}: +rustPlatform.buildRustPackage rec { + pname = "monitui"; + version = "0.2.3-unstable-2026-03-14"; + + src = fetchFromGitHub { + owner = "nathaniel-fargo"; + repo = "monitui"; + rev = "3fd537e86421fcf2d1731a0f0869eb46a5fd1d5e"; + hash = "sha256-2DMN1Ss8yX4ht2cjH/jaq8pqyMc20yroneFKLSU2pig="; + }; + + cargoHash = "sha256-YMtw8Hsqzi0rVdwVzxfETFlNDS4DCaLoHzT+s+9L2+g="; + + meta = with lib; { + description = "Delightfully minimal TUI for wrangling Hyprland monitors"; + homepage = "https://github.com/nathaniel-fargo/monitui"; + license = licenses.mit; + platforms = platforms.unix; + maintainers = [ ]; + mainProgram = "monitui"; + }; +}