Skip to content

Commit d1336f3

Browse files
authored
csvlens: 0.11.0 -> 0.12.0 (#404550)
2 parents f3c37b4 + 5bccea1 commit d1336f3

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

pkgs/by-name/cs/csvlens/package.nix

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,31 @@
22
lib,
33
rustPlatform,
44
fetchFromGitHub,
5+
fetchpatch2,
56
}:
67

78
rustPlatform.buildRustPackage rec {
89
pname = "csvlens";
9-
version = "0.11.0";
10+
version = "0.12.0";
1011

1112
src = fetchFromGitHub {
1213
owner = "YS-L";
1314
repo = "csvlens";
1415
tag = "v${version}";
15-
hash = "sha256-JlyDw+VL/vpKTvvBlDIwVIovhKJX2pV4UTY47cLR1IE=";
16+
hash = "sha256-kyUfpZaOpLP8nGrXH8t9cOutXFkZsmZnPmIu3t6uaWU=";
1617
};
1718

19+
patches = [
20+
(fetchpatch2 {
21+
# https://github.com/YS-L/csvlens/pull/129
22+
name = "fix-flaky-test.patch";
23+
url = "https://github.com/YS-L/csvlens/commit/8544e9d4179eef10e8d1a625a41c0e1ef3eb188b.patch";
24+
hash = "sha256-j02H+R14Hfm7ZEHFPRGqTY/GEzj5ETXp72kk7os9Zso=";
25+
})
26+
];
27+
1828
useFetchCargoVendor = true;
19-
cargoHash = "sha256-nfw8mMauOTDCBh9O2ye96p8WXDFta4DXXb9kJVz7f3E=";
29+
cargoHash = "sha256-lr1pqFodqgsKHRFGonXj0nG4elomiSMETulBdCLMR3w=";
2030

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

0 commit comments

Comments
 (0)