2021-09-09 02:56:13 +02:00
|
|
|
{ fetchFromGitHub, lib, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "csview";
|
2022-02-16 07:38:23 +01:00
|
|
|
version = "1.0.1";
|
2021-09-09 02:56:13 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wfxr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-02-16 07:38:23 +01:00
|
|
|
sha256 = "sha256-tllwFUC+Si3PsYPmiO86D3PNdInuIxxhZW5dAuU4K14=";
|
2021-09-09 02:56:13 +02:00
|
|
|
};
|
|
|
|
|
2022-02-16 07:38:23 +01:00
|
|
|
cargoSha256 = "sha256-j9CwldmxjWYVuiWfAHIV0kr5k/p1BFWHzZiVrv8m7uI=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|