2022-04-27 09:35:20 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "fx";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "24.1.0";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "antonmedv";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-04-29 16:46:19 +00:00
|
|
|
hash = "sha256-X6wuCAiQa1coHMz96aAXKGZFnius1vHJpk+EhbXqoMA=";
|
2022-04-27 09:35:20 +00:00
|
|
|
};
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
vendorHash = "sha256-J19MhLvjxcxvcub888UFKI0iIf7OG3dmP5v40ElHCU4=";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Terminal JSON viewer";
|
|
|
|
homepage = "https://github.com/antonmedv/fx";
|
2023-04-29 16:46:19 +00:00
|
|
|
changelog = "https://github.com/antonmedv/fx/releases/tag/${src.rev}";
|
2022-04-27 09:35:20 +00:00
|
|
|
license = licenses.mit;
|
2023-04-29 16:46:19 +00:00
|
|
|
maintainers = with maintainers; [ figsoda ];
|
2022-04-27 09:35:20 +00:00
|
|
|
};
|
|
|
|
}
|