nixpkgs/pkgs/by-name/fb/fblog/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
594 B
Nix
Raw Normal View History

2022-10-01 00:43:02 +00:00
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "fblog";
2024-11-14 11:00:49 +00:00
version = "4.13.1";
2022-10-01 00:43:02 +00:00
src = fetchFromGitHub {
owner = "brocode";
repo = pname;
rev = "v${version}";
2024-11-14 11:00:49 +00:00
hash = "sha256-YOHLw8YCgOGB1Nn2tD+EnicKd/tiMk07OWv+49btbpw=";
2022-10-01 00:43:02 +00:00
};
2024-11-14 11:00:49 +00:00
cargoHash = "sha256-+rhrvZ8EOYAFSvAvGyUwlDCWXVqgXPdmugBbrn12yLg=";
2022-10-01 00:43:02 +00:00
meta = with lib; {
description = "Small command-line JSON log viewer";
mainProgram = "fblog";
2022-10-01 00:43:02 +00:00
homepage = "https://github.com/brocode/fblog";
license = licenses.wtfpl;
maintainers = with maintainers; [ figsoda ];
};
}