blob: c2a1dbec6ff2ba2735a25a9dd25139ccc716f868 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{
lib,
rustPlatform,
fetchCrate,
stdenv,
darwin,
nix-update-script,
testers,
systemctl-tui,
}:
rustPlatform.buildRustPackage rec {
pname = "systemctl-tui";
version = "0.3.8";
src = fetchCrate {
inherit pname version;
hash = "sha256-i2PKSvjsrITLp3a3EgfFF3IR464mkkDnh8ITLO+o0hU=";
};
cargoHash = "sha256-6cFK1wMO5VICfi3tN140XH9inQOkkSfHVogKhTHtQb8=";
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.AppKit ];
passthru = {
updateScript = nix-update-script;
tests.version = testers.testVersion { package = systemctl-tui; };
};
meta = {
description = "Simple TUI for interacting with systemd services and their logs";
homepage = "https://crates.io/crates/systemctl-tui";
changelog = "https://github.com/rgwood/systemctl-tui/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ siph ];
mainProgram = "systemctl-tui";
};
}
|