@@ -12,16 +12,16 @@
1212
1313rustPlatform.buildRustPackage rec {
1414 pname = "bat";
15− version = "0.17.1";
15+ version = "0.18.0";
1616
1717 src = fetchFromGitHub {
1818 owner = "sharkdp";
1919 repo = pname;
2020 rev = "v${version}";
21− sha256 = "1kbziqm00skj65gpjq6m83hmfk9g3xyx88gai1r80pzsx8g239w1";
21+ sha256 = "113i11sgna82i4c4zk66qmbypmnmzh0lzp4kkgqnxxcdvyj00rb8";
2222 };
2323
24− cargoSha256 = "1pdja5jhk036hpgv77xc3fcvra1sw0z5jc1ry53i0r7362lnwapz";
24+ cargoSha256 = "12z7y303fmga91daf2w356qiqdqa7b8dz6nrrpnjdf0slyz0w3x4";
2525
2626 nativeBuildInputs = [ pkg-config installShellFiles makeWrapper ];
2727
@@ -39,11 +39,14 @@ rustPlatform.buildRustPackage rec {
3939 --prefix PATH : "${lib.makeBinPath [ less ]}"
4040 '';
4141
42+ checkFlags = [ "--skip=pager_more" "--skip=pager_most" ];
43+
4244 passthru.tests = { inherit (nixosTests) bat; };
4345
4446 meta = with lib; {
4547 description = "A cat(1) clone with syntax highlighting and Git integration";
4648 homepage = "https://github.com/sharkdp/bat";
49+ changelog = "https://github.com/sharkdp/bat/raw/v${version}/CHANGELOG.md";
4750 license = with licenses; [ asl20 /* or */ mit ];
4851 maintainers = with maintainers; [ dywedir lilyball zowoq ];
4952 };