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

24 lines
646 B
Nix
Raw Normal View History

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