Merge pull request #83160 from marsam/update-bat

bat: 0.12.1 -> 0.13.0

authored by Mario Rodas and committed by GitHub 498a52e2 e65c4113

+6 -6
+6 -6
pkgs/tools/misc/bat/default.nix
··· 4 4 5 5 rustPlatform.buildRustPackage rec { 6 6 pname = "bat"; 7 - version = "0.12.1"; 7 + version = "0.13.0"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "sharkdp"; 11 11 repo = pname; 12 12 rev = "v${version}"; 13 - sha256 = "1cpa8dal4c27pnbmmrar4vqzcl4h0zf8x1zx1dlf0riavdg9n56y"; 13 + sha256 = "1kaa6ps6v1wk9qs63h116k4pbz7y9mfbfxfbq7g89yjhzkjmh6xc"; 14 14 fetchSubmodules = true; 15 15 }; 16 16 17 - cargoSha256 = "17xyb84axkn341nd5rm7jza1lrn8wcnl6jirhyv63r5k6mswy39i"; 17 + cargoSha256 = "01l1y124gjh6gf9z1jkbpfzh0w92hrgwvsmqkqdw3a9pa4w5f6yg"; 18 18 19 19 nativeBuildInputs = [ pkgconfig llvmPackages.libclang installShellFiles makeWrapper ]; 20 20 ··· 23 23 LIBCLANG_PATH = "${llvmPackages.libclang}/lib"; 24 24 25 25 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 28 28 ''; 29 29 30 30 # Insert Nix-built `less` into PATH because the system-provided one may be too old to behave as ··· 36 36 37 37 meta = with stdenv.lib; { 38 38 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"; 40 40 license = with licenses; [ asl20 /* or */ mit ]; 41 41 maintainers = with maintainers; [ dywedir lilyball ]; 42 42 platforms = platforms.all;