Merge pull request #336554 from GaetanLepage/systemctl-tui

systemctl-tui: 0.3.6 -> 0.3.7 + cleaning
This commit is contained in:
Gaétan Lepage 2024-08-22 18:59:24 +02:00 committed by GitHub
commit c33918d57c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,30 +1,38 @@
{ lib
, rustPlatform
, fetchCrate
, stdenv
, darwin
{
lib,
rustPlatform,
fetchCrate,
stdenv,
darwin,
nix-update-script,
testers,
systemctl-tui,
}:
rustPlatform.buildRustPackage rec {
pname = "systemctl-tui";
version = "0.3.6";
version = "0.3.7";
src = fetchCrate {
inherit pname version;
hash = "sha256-R7PeExN31vjGJnvRCYZO8DjZWXa17OFZ+lpdxCPIVpE=";
hash = "sha256-i0yCVXip1RcvKqxidflgW4wJFxAmUPRO04CeETzUgms=";
};
cargoHash = "sha256-rlKizeWPWZUy23IHII6hrNVLFUR5xSkDQxYrc5WToC0=";
cargoHash = "sha256-4gY9pQO2ljbyviaL20ikEqwdAHS4bqpzE6YyaBW/b7c=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.AppKit
];
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.AppKit ];
meta = with lib; {
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";
license = licenses.mit;
maintainers = with maintainers; [ siph ];
changelog = "https://github.com/rgwood/systemctl-tui/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ siph ];
mainProgram = "systemctl-tui";
};
}