@@ -4,17 +4,17 @@
44
55rustPlatform.buildRustPackage rec {
66 pname = "bat";
7− version = "0.12.1";
7+ version = "0.13.0";
88
99 src = fetchFromGitHub {
1010 owner = "sharkdp";
1111 repo = pname;
1212 rev = "v${version}";
13− sha256 = "1cpa8dal4c27pnbmmrar4vqzcl4h0zf8x1zx1dlf0riavdg9n56y";
13+ sha256 = "1kaa6ps6v1wk9qs63h116k4pbz7y9mfbfxfbq7g89yjhzkjmh6xc";
1414 fetchSubmodules = true;
1515 };
1616
17− cargoSha256 = "17xyb84axkn341nd5rm7jza1lrn8wcnl6jirhyv63r5k6mswy39i";
17+ cargoSha256 = "01l1y124gjh6gf9z1jkbpfzh0w92hrgwvsmqkqdw3a9pa4w5f6yg";
1818
1919 nativeBuildInputs = [ pkgconfig llvmPackages.libclang installShellFiles makeWrapper ];
2020
@@ -23,8 +23,8 @@ rustPlatform.buildRustPackage rec {
2323 LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
2424
2525 postInstall = ''
26− installManPage doc/bat.1
27− installShellCompletion assets/completions/bat.fish
26+ installManPage $releaseDir/build/bat-*/out/assets/manual/bat.1
27+ installShellCompletion $releaseDir/build/bat-*/out/assets/completions/bat.fish
2828 '';
2929
3030 # Insert Nix-built `less` into PATH because the system-provided one may be too old to behave as
@@ -36,7 +36,7 @@ rustPlatform.buildRustPackage rec {
3636
3737 meta = with stdenv.lib; {
3838 description = "A cat(1) clone with syntax highlighting and Git integration";
39− homepage = https://github.com/sharkdp/bat;
39+ homepage = "https://github.com/sharkdp/bat";
4040 license = with licenses; [ asl20 /* or */ mit ];
4141 maintainers = with maintainers; [ dywedir lilyball ];
4242 platforms = platforms.all;