nixpkgs/pkgs/tools/text/tv/default.nix

24 lines
646 B
Nix
Raw Normal View History

2021-09-09 03:35:11 +02:00
{ fetchFromGitHub, lib, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "tv";
2021-09-24 13:57:35 +02:00
version = "0.7.0";
2021-09-09 03:35:11 +02:00
src = fetchFromGitHub {
owner = "uzimaru0000";
repo = pname;
rev = "v${version}";
2021-09-24 13:57:35 +02:00
sha256 = "sha256-qODv45smZ6jHCJBaa6EEvFLG+7g+FWrRf6BiHRFLzqM=";
2021-09-09 03:35:11 +02:00
};
2021-09-24 13:57:35 +02:00
cargoSha256 = "sha256-nI4n4KMPLaIF978b5VvW3mb02vKW+r39nllrhukJilI=";
2021-09-09 03:35:11 +02:00
meta = with lib; {
description = "Format json into table view";
homepage = "https://github.com/uzimaru0000/tv";
2021-09-20 21:12:25 +02:00
changelog = "https://github.com/uzimaru0000/tv/blob/v${version}/CHANGELOG.md";
2021-09-09 03:35:11 +02:00
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}