2023-09-20 14:37:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2022-04-27 21:40:38 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "fx";
|
2023-11-11 06:28:45 +00:00
|
|
|
version = "31.0.0";
|
2022-04-27 21:40:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "antonmedv";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-11-11 06:28:45 +00:00
|
|
|
hash = "sha256-AVaMViu+65xyYW3TzIigNXf5FfKb2v+TU/BMZqCX/Js=";
|
2022-04-27 21:40:38 +00:00
|
|
|
};
|
|
|
|
|
2023-11-11 06:28:45 +00:00
|
|
|
vendorHash = "sha256-kE6JotKP3YQ0B3HvyNU3fTvuwbnqTW8cwGVBYpiBvso=";
|
2022-04-27 21:40:38 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Terminal JSON viewer";
|
|
|
|
homepage = "https://github.com/antonmedv/fx";
|
2023-04-17 20:05:57 +00:00
|
|
|
changelog = "https://github.com/antonmedv/fx/releases/tag/${src.rev}";
|
2022-04-27 21:40:38 +00:00
|
|
|
license = licenses.mit;
|
2023-04-17 20:05:57 +00:00
|
|
|
maintainers = with maintainers; [ figsoda ];
|
2022-04-27 21:40:38 +00:00
|
|
|
};
|
|
|
|
}
|