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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
633 B
Nix
Raw Normal View History

2021-09-09 02:56:13 +02:00
{ fetchFromGitHub, lib, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "csview";
2024-04-29 14:38:33 +02:00
version = "1.3.1";
2021-09-09 02:56:13 +02:00
src = fetchFromGitHub {
owner = "wfxr";
repo = pname;
rev = "v${version}";
2024-04-29 14:38:33 +02:00
sha256 = "sha256-Tu/h9jhZgulrc5bTJrwq7Ksg69qUVUBjWNdzve4m9JM=";
2021-09-09 02:56:13 +02:00
};
2024-04-29 14:38:33 +02:00
cargoHash = "sha256-ZXLu/6IQ20u8dk0gaZoBh0rt6CGaRBNVHGgrCW5+yzA=";
2021-09-09 02:56:13 +02:00
meta = with lib; {
description = "A high performance csv viewer with cjk/emoji support";
mainProgram = "csview";
2021-09-09 02:56:13 +02:00
homepage = "https://github.com/wfxr/csview";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ figsoda ];
};
}