2021-09-09 02:35:11 +01:00
|
|
|
{ fetchFromGitHub, lib, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "tv";
|
2021-09-20 20:12:25 +01:00
|
|
|
version = "0.6.0";
|
2021-09-09 02:35:11 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "uzimaru0000";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-09-20 20:12:25 +01:00
|
|
|
sha256 = "sha256-4PcD0keG3OVZPv6MA+rNSL9lysrseJUA6C5cd2f6LRY=";
|
2021-09-09 02:35:11 +01:00
|
|
|
};
|
|
|
|
|
2021-09-20 20:12:25 +01:00
|
|
|
cargoSha256 = "sha256-E4qMxCqgJYIA8E6A0d8iUYTbKif5T51zcFdc+Ptq7qc=";
|
2021-09-09 02:35:11 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Format json into table view";
|
|
|
|
homepage = "https://github.com/uzimaru0000/tv";
|
2021-09-20 20:12:25 +01:00
|
|
|
changelog = "https://github.com/uzimaru0000/tv/blob/v${version}/CHANGELOG.md";
|
2021-09-09 02:35:11 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|