2021-09-09 00:56:13 +00:00
|
|
|
{ fetchFromGitHub, lib, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "csview";
|
2022-09-23 13:38:21 +00:00
|
|
|
version = "1.2.1";
|
2021-09-09 00:56:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wfxr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-09-23 13:38:21 +00:00
|
|
|
sha256 = "sha256-ep+bfmeXbHGD0xEqKQr1dfh7MOPfySdcZcTaEonOSas=";
|
2021-09-09 00:56:13 +00:00
|
|
|
};
|
|
|
|
|
2022-09-23 13:38:21 +00:00
|
|
|
cargoSha256 = "sha256-IfIOettKHVay9Ls3cT9BI0zmGHle2Ew227BztbiLxEw=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|