diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2023-10-24 14:15:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-24 14:15:30 +0200 |
commit | 41a098a3bc3e19c3db22ef01ba186d224d1574c3 (patch) | |
tree | 2072773b0f1f729f6766f37cd43f0eb20e950e2e /pkgs/by-name/sy | |
parent | dff6538451e5d80a9619923235ac15edbc050144 (diff) | |
parent | ee741899f31ea6ebafe9f0a9d70851497cc2641e (diff) |
Merge pull request #262822 from siph/systemctl-tui
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"; + }; +} |