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

23 lines
608 B
Nix
Raw Normal View History

2021-09-09 00:56:13 +00:00
{ fetchFromGitHub, lib, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "csview";
2022-01-07 14:59:15 +00:00
version = "0.3.12";
2021-09-09 00:56:13 +00:00
src = fetchFromGitHub {
owner = "wfxr";
repo = pname;
rev = "v${version}";
2022-01-07 14:59:15 +00:00
sha256 = "sha256-1j3u9r5TjdewAyzuCwCkXl/A2yI9L/AS5QGRpz30N7U=";
2021-09-09 00:56:13 +00:00
};
2022-01-07 14:59:15 +00:00
cargoSha256 = "sha256-Z+LnWXvVfZa8Mtr9LrieqCBGxaQE1vj1joSttYM5Xhs=";
2021-09-09 00:56:13 +00:00
meta = with lib; {
description = "A high performance csv viewer with cjk/emoji support";
homepage = "https://github.com/wfxr/csview";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ figsoda ];
};
}