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

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

23 lines
607 B
Nix
Raw Normal View History

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