oxker: modernize

This commit is contained in:
FliegendeWurst 2025-04-25 00:02:33 +02:00
parent 9486330a5b
commit 73d9450a13

View File

@ -5,12 +5,12 @@
nix-update-script, nix-update-script,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: {
pname = "oxker"; pname = "oxker";
version = "0.10.3"; version = "0.10.3";
src = fetchCrate { src = fetchCrate {
inherit pname version; inherit (finalAttrs) pname version;
hash = "sha256-2xLTR5+0xtyYhc5+gYG78EMP/B5Vk6ZqEGsZwM2bAok="; hash = "sha256-2xLTR5+0xtyYhc5+gYG78EMP/B5Vk6ZqEGsZwM2bAok=";
}; };
@ -19,12 +19,12 @@ rustPlatform.buildRustPackage rec {
passthru.updateScript = nix-update-script { }; passthru.updateScript = nix-update-script { };
meta = with lib; { meta = {
description = "Simple tui to view & control docker containers"; description = "Simple TUI to view & control docker containers";
homepage = "https://github.com/mrjackwills/oxker"; homepage = "https://github.com/mrjackwills/oxker";
changelog = "https://github.com/mrjackwills/oxker/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/mrjackwills/oxker/blob/v${finalAttrs.version}/CHANGELOG.md";
license = licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [ siph ]; maintainers = with lib.maintainers; [ siph ];
mainProgram = "oxker"; mainProgram = "oxker";
}; };
} })