lazyjournal: init at 0.4.0 (#362539)

This commit is contained in:
Aleksana 2024-12-07 17:42:16 +08:00 committed by GitHub
commit d981560eb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,38 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
let
version = "0.4.0";
in
buildGoModule {
pname = "lazyjournal";
inherit version;
src = fetchFromGitHub {
owner = "Lifailon";
repo = "lazyjournal";
tag = version;
hash = "sha256-Ce5xodkWgMMRRqsKLZNt0cNspsUFXTHQHXmQbphOS2w=";
};
vendorHash = "sha256-jh99+zlhr4ogig4Z2FFO6SZ2qTBkOUuiXo5iNk0VTi0=";
ldflags = [
"-s"
"-w"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "TUI for journalctl, file system logs, as well as Docker and Podman containers";
homepage = "https://github.com/Lifailon/lazyjournal";
license = with lib.licenses; [ mit ];
platforms = with lib.platforms; unix ++ windows;
maintainers = with lib.maintainers; [ pluiedev ];
mainProgram = "lazyjournal";
};
}