1{ fetchFromGitHub, lib, rustPlatform }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "tv";
5 version = "0.7.0";
6
7 src = fetchFromGitHub {
8 owner = "uzimaru0000";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-qODv45smZ6jHCJBaa6EEvFLG+7g+FWrRf6BiHRFLzqM=";
12 };
13
14 cargoSha256 = "sha256-nI4n4KMPLaIF978b5VvW3mb02vKW+r39nllrhukJilI=";
15
16 meta = with lib; {
17 description = "Format json into table view";
18 homepage = "https://github.com/uzimaru0000/tv";
19 changelog = "https://github.com/uzimaru0000/tv/blob/v${version}/CHANGELOG.md";
20 license = licenses.mit;
21 maintainers = with maintainers; [ figsoda ];
22 };
23}