2021-09-09 02:56:13 +02:00
|
|
|
{ fetchFromGitHub, lib, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "csview";
|
2022-10-09 17:46:22 +02:00
|
|
|
version = "1.2.2";
|
2021-09-09 02:56:13 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wfxr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-10-09 17:46:22 +02:00
|
|
|
sha256 = "sha256-pv0zCtVHTjzkXK5EZhu6jviMJF0p9dvAuYcA6khiIos=";
|
2021-09-09 02:56:13 +02:00
|
|
|
};
|
|
|
|
|
2022-10-09 17:46:22 +02:00
|
|
|
cargoSha256 = "sha256-uMBwEbxI8hjoFMlH+oquHvKdyLUC9bnO5uMFHkyZjgY=";
|
2021-09-09 02:56:13 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|