Unverified Commit d1336f32 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

csvlens: 0.11.0 -> 0.12.0 (#404550)

parents f3c37b4e 5bccea1f
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -2,21 +2,31 @@
  lib,
  rustPlatform,
  fetchFromGitHub,
  fetchpatch2,
}:

rustPlatform.buildRustPackage rec {
  pname = "csvlens";
  version = "0.11.0";
  version = "0.12.0";

  src = fetchFromGitHub {
    owner = "YS-L";
    repo = "csvlens";
    tag = "v${version}";
    hash = "sha256-JlyDw+VL/vpKTvvBlDIwVIovhKJX2pV4UTY47cLR1IE=";
    hash = "sha256-kyUfpZaOpLP8nGrXH8t9cOutXFkZsmZnPmIu3t6uaWU=";
  };

  patches = [
    (fetchpatch2 {
      # https://github.com/YS-L/csvlens/pull/129
      name = "fix-flaky-test.patch";
      url = "https://github.com/YS-L/csvlens/commit/8544e9d4179eef10e8d1a625a41c0e1ef3eb188b.patch";
      hash = "sha256-j02H+R14Hfm7ZEHFPRGqTY/GEzj5ETXp72kk7os9Zso=";
    })
  ];

  useFetchCargoVendor = true;
  cargoHash = "sha256-nfw8mMauOTDCBh9O2ye96p8WXDFta4DXXb9kJVz7f3E=";
  cargoHash = "sha256-lr1pqFodqgsKHRFGonXj0nG4elomiSMETulBdCLMR3w=";

  meta = with lib; {
    description = "Command line csv viewer";