lock: 1.3.0 -> 1.3.4 (#364295)
[NixPkgs.git] / pkgs / by-name / sy / systemctl-tui / package.nix
blobc220fcc8547a1fa7334d19fa59bc65d6fd06b06a
2   lib,
3   rustPlatform,
4   fetchCrate,
5   stdenv,
6   darwin,
7   nix-update-script,
8   testers,
9   systemctl-tui,
12 rustPlatform.buildRustPackage rec {
13   pname = "systemctl-tui";
14   version = "0.3.8";
16   src = fetchCrate {
17     inherit pname version;
18     hash = "sha256-i2PKSvjsrITLp3a3EgfFF3IR464mkkDnh8ITLO+o0hU=";
19   };
21   cargoHash = "sha256-6cFK1wMO5VICfi3tN140XH9inQOkkSfHVogKhTHtQb8=";
23   buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.AppKit ];
25   passthru = {
26     updateScript = nix-update-script;
27     tests.version = testers.testVersion { package = systemctl-tui; };
28   };
30   meta = {
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";
37   };