mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
lazyjournal: init at 0.4.0 (#362539)
This commit is contained in:
commit
d981560eb5
38
pkgs/by-name/la/lazyjournal/package.nix
Normal file
38
pkgs/by-name/la/lazyjournal/package.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user