2022-04-27 09:35:20 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "fx";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "31.0.0";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "antonmedv";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-AVaMViu+65xyYW3TzIigNXf5FfKb2v+TU/BMZqCX/Js=";
|
2022-04-27 09:35:20 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
vendorHash = "sha256-kE6JotKP3YQ0B3HvyNU3fTvuwbnqTW8cwGVBYpiBvso=";
|
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
|
|
|
};
|
|
|
|
}
|