12 rustPlatform.buildRustPackage rec {
13 pname = "systemctl-tui";
17 inherit pname version;
18 hash = "sha256-i2PKSvjsrITLp3a3EgfFF3IR464mkkDnh8ITLO+o0hU=";
21 cargoHash = "sha256-6cFK1wMO5VICfi3tN140XH9inQOkkSfHVogKhTHtQb8=";
23 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.AppKit ];
26 updateScript = nix-update-script;
27 tests.version = testers.testVersion { package = systemctl-tui; };
31 description = "Simple TUI for interacting with systemd services and their logs";
32 homepage = "https://crates.io/crates/systemctl-tui";
33 changelog = "https://github.com/rgwood/systemctl-tui/releases/tag/v${version}";
34 license = lib.licenses.mit;
35 maintainers = with lib.maintainers; [ siph ];
36 mainProgram = "systemctl-tui";