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 01:56:13 +01:00
{ fetchFromGitHub, lib, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "csview";
2024-03-04 12:46:21 +00:00
version = "1.2.4";
2021-09-09 01:56:13 +01:00
src = fetchFromGitHub {
owner = "wfxr";
repo = pname;
rev = "v${version}";
2024-03-04 12:46:21 +00:00
sha256 = "sha256-7AppXnU9VQx1CMyK2evWtRFVb8qvgSzKp+oFKoIGR9w=";
2021-09-09 01:56:13 +01:00
};
2024-03-04 12:46:21 +00:00
cargoHash = "sha256-npbvKwxf6OxNw340yZ9vrQkXrZxD4G8yhZZEdDLwLs8=";
2021-09-09 01:56:13 +01:00
meta = with lib; {
description = "A high performance csv viewer with cjk/emoji support";
mainProgram = "csview";
2021-09-09 01:56:13 +01:00
homepage = "https://github.com/wfxr/csview";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ figsoda ];
};
}