diff options
author | siph <dawkins.chris.dev@gmail.com> | 2023-10-22 16:27:48 -0600 |
---|---|---|
committer | siph <dawkins.chris.dev@gmail.com> | 2023-10-23 12:13:54 -0600 |
commit | ee741899f31ea6ebafe9f0a9d70851497cc2641e (patch) | |
tree | d4d11dd35b9a546e613c8ea40e391bb76f43f45a /pkgs/by-name/sy | |
parent | 9aa726b4481455bc8508e2721b0ee183e1ff7e47 (diff) |
systemctl-tui: init at 0.2.2
Diffstat (limited to 'pkgs/by-name/sy')
-rw-r--r-- | pkgs/by-name/sy/systemctl-tui/package.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/by-name/sy/systemctl-tui/package.nix b/pkgs/by-name/sy/systemctl-tui/package.nix new file mode 100644 index 0000000000000..5da79686b5f86 --- /dev/null +++ b/pkgs/by-name/sy/systemctl-tui/package.nix @@ -0,0 +1,30 @@ +{ lib +, rustPlatform +, fetchCrate +, stdenv +, darwin +}: + +rustPlatform.buildRustPackage rec { + pname = "systemctl-tui"; + version = "0.2.2"; + + src = fetchCrate { + inherit pname version; + hash = "sha256-q/LzehMspiqxQOgALh1smhmL1803xr4GzIw9t+jE6NM="; + }; + + cargoHash = "sha256-GNuWag8Y1aSkBMzXcHpwfVU80zmhusLIOrKtZSe/jI0="; + + buildInputs = lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.AppKit + ]; + + meta = with lib; { + description = "A simple TUI for interacting with systemd services and their logs"; + homepage = "https://crates.io/crates/systemctl-tui"; + license = licenses.mit; + maintainers = with maintainers; [ siph ]; + mainProgram = "systemctl-tui"; + }; +} |