vifm: 0.13 -> 0.14 (#380559)
[NixPkgs.git] / pkgs / by-name / cs / csview / package.nix
blobf304ab26ac0e48d93147886685298a2ea15c61ce
2   fetchFromGitHub,
3   lib,
4   rustPlatform,
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "csview";
9   version = "1.3.4";
11   src = fetchFromGitHub {
12     owner = "wfxr";
13     repo = pname;
14     rev = "v${version}";
15     sha256 = "sha256-JFuqaGwCSfEIncBgLu6gGaOvAC5vojKFjruWcuSghS0=";
16   };
18   useFetchCargoVendor = true;
19   cargoHash = "sha256-CXIfE1EsNwm4vsybQSdfKewBYpzBh+uQu1jYAm8DDtI=";
21   meta = with lib; {
22     description = "High performance csv viewer with cjk/emoji support";
23     mainProgram = "csview";
24     homepage = "https://github.com/wfxr/csview";
25     license = with licenses; [
26       mit # or
27       asl20
28     ];
29     maintainers = with maintainers; [ figsoda ];
30   };