summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2021-08-01 09:11:55 +0100
committerGitHub <noreply@github.com>2021-08-01 09:11:55 +0100
commitc4b6bc90d9b836162876677bf3ac1b2d6abe65e9 (patch)
treef5b729a2a8cba3cb20820400f4fb640c6d868cea
parentMerge pull request #132204 from yu-re-ka/feature/tdesktop-2-8-11-backport (diff)
parentbat: 0.18.1 -> 0.18.2 (diff)
downloadnixpkgs-c4b6bc90d9b836162876677bf3ac1b2d6abe65e9.tar.gz
Merge pull request #132189 from NixOS/backport-130087-to-release-21.05
[Backport release-21.05] bat: 0.18.1 -> 0.18.2
-rw-r--r--pkgs/tools/misc/bat/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/tools/misc/bat/default.nix b/pkgs/tools/misc/bat/default.nix
index 8bc82547eeb9..81b910117f17 100644
--- a/pkgs/tools/misc/bat/default.nix
+++ b/pkgs/tools/misc/bat/default.nix
@@ -1,4 +1,5 @@
-{ lib, stdenv
+{ lib
+, stdenv
, nixosTests
, rustPlatform
, fetchFromGitHub
@@ -12,16 +13,15 @@
rustPlatform.buildRustPackage rec {
pname = "bat";
- version = "0.18.1";
+ version = "0.18.2";
src = fetchFromGitHub {
owner = "sharkdp";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-kyl+clL/4uxVaDH/9zPDGQTir4/JVgtHo9kNQ31gXTo=";
+ sha256 = "sha256-Y8CmVOIDPQ9kpggOlKnxLV0oOyNRow0r/nvxNpCtYNU=";
};
-
- cargoSha256 = "sha256-j9HbOXiwN4CWv9wMBrNxY3jehh+KRkXlwmDqChNy1Dk=";
+ cargoSha256 = "sha256-MdfBldImyW8QV0P3zPrYT2Vi9zChvXePI2T8tRsrlcQ=";
nativeBuildInputs = [ pkg-config installShellFiles makeWrapper ];
@@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
postInstall = ''
installManPage $releaseDir/build/bat-*/out/assets/manual/bat.1
- installShellCompletion $releaseDir/build/bat-*/out/assets/completions/bat.{fish,zsh}
+ installShellCompletion $releaseDir/build/bat-*/out/assets/completions/bat.{bash,fish,zsh}
'';
# Insert Nix-built `less` into PATH because the system-provided one may be too old to behave as