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

23 lines
607 B
Nix
Raw Normal View History

2021-09-09 03:56:13 +03:00
{ fetchFromGitHub, lib, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "csview";
2021-11-28 20:56:54 +03:00
version = "0.3.9";
2021-09-09 03:56:13 +03:00
src = fetchFromGitHub {
owner = "wfxr";
repo = pname;
rev = "v${version}";
2021-11-28 20:56:54 +03:00
sha256 = "sha256-FrdW3f/ydjClgySEa2AIlAC9NOAr9cE4W67zXmlrUrQ=";
2021-09-09 03:56:13 +03:00
};
2021-11-28 20:56:54 +03:00
cargoSha256 = "sha256-cew6czpBGNF3kulgdmfoWl/4f1AyKvHTIk/3eGEwkhE=";
2021-09-09 03:56:13 +03: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 ];
};
}