From e4338224cc10241353be7181fd2d78f32af5c66c Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 14 Feb 2026 10:27:29 +0000 Subject: [PATCH] nixmate: init at 0.7.2 --- pkgs/by-name/ni/nixmate/package.nix | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pkgs/by-name/ni/nixmate/package.nix diff --git a/pkgs/by-name/ni/nixmate/package.nix b/pkgs/by-name/ni/nixmate/package.nix new file mode 100644 index 000000000000..0430c64b7cf0 --- /dev/null +++ b/pkgs/by-name/ni/nixmate/package.nix @@ -0,0 +1,34 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + versionCheckHook, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "nixmate"; + version = "0.7.2"; + + src = fetchFromGitHub { + owner = "daskladas"; + repo = "nixmate"; + tag = "v${finalAttrs.version}"; + hash = "sha256-Buabxhaq9P1u2zqRMGnFnCZczrxENa/Ux//F5wHkb1U="; + }; + + cargoHash = "sha256-c11NRt6qBNhj6JQeI7/80aYzuCY36ApsUWVnbRH7rRU="; + + nativeInstallCheckInputs = [ + versionCheckHook + ]; + doInstallCheck = true; + + meta = { + description = "All your NixOS tools in one TUI — generations, rebuilds, services, errors, and more"; + homepage = "https://github.com/daskladas/nixmate"; + changelog = "https://github.com/daskladas/nixmate/blob/${finalAttrs.src.tag}/CHANGELOG.md"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ GaetanLepage ]; + mainProgram = "nixmate"; + }; +})