nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 fetchFromGitHub,
3 lib,
4 rustPlatform,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "csview";
9 version = "1.3.4";
10
11 src = fetchFromGitHub {
12 owner = "wfxr";
13 repo = "csview";
14 rev = "v${version}";
15 sha256 = "sha256-JFuqaGwCSfEIncBgLu6gGaOvAC5vojKFjruWcuSghS0=";
16 };
17
18 cargoHash = "sha256-CXIfE1EsNwm4vsybQSdfKewBYpzBh+uQu1jYAm8DDtI=";
19
20 meta = {
21 description = "High performance csv viewer with cjk/emoji support";
22 mainProgram = "csview";
23 homepage = "https://github.com/wfxr/csview";
24 license = with lib.licenses; [
25 mit # or
26 asl20
27 ];
28 maintainers = [ ];
29 };
30}