about summary refs log tree commit diff
path: root/pkgs/tools/misc/bat
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-03-22 07:25:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-03-22 07:25:00 -0500
commit0c59458e4440169088ea2312be8b0b3e0e155128 (patch)
tree439390a600d162461e28289092c131fb02d6c31b /pkgs/tools/misc/bat
parent32830875e4704428bd90608ee6d626ea5e84f99a (diff)
downloadnixlib-0c59458e4440169088ea2312be8b0b3e0e155128.tar
nixlib-0c59458e4440169088ea2312be8b0b3e0e155128.tar.gz
nixlib-0c59458e4440169088ea2312be8b0b3e0e155128.tar.bz2
nixlib-0c59458e4440169088ea2312be8b0b3e0e155128.tar.lz
nixlib-0c59458e4440169088ea2312be8b0b3e0e155128.tar.xz
nixlib-0c59458e4440169088ea2312be8b0b3e0e155128.tar.zst
nixlib-0c59458e4440169088ea2312be8b0b3e0e155128.zip
bat: 0.12.1 -> 0.13.0
Changelog: https://github.com/sharkdp/bat/releases/tag/v0.13.0
Diffstat (limited to 'pkgs/tools/misc/bat')
-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 d8ac90abf87c..bf84502af2bc 100644
--- a/pkgs/tools/misc/bat/default.nix
+++ b/pkgs/tools/misc/bat/default.nix
@@ -4,17 +4,17 @@
 
 rustPlatform.buildRustPackage rec {
   pname   = "bat";
-  version = "0.12.1";
+  version = "0.13.0";
 
   src = fetchFromGitHub {
     owner  = "sharkdp";
     repo   = pname;
     rev    = "v${version}";
-    sha256 = "1cpa8dal4c27pnbmmrar4vqzcl4h0zf8x1zx1dlf0riavdg9n56y";
+    sha256 = "1kaa6ps6v1wk9qs63h116k4pbz7y9mfbfxfbq7g89yjhzkjmh6xc";
     fetchSubmodules = true;
   };
 
-  cargoSha256 = "17xyb84axkn341nd5rm7jza1lrn8wcnl6jirhyv63r5k6mswy39i";
+  cargoSha256 = "01l1y124gjh6gf9z1jkbpfzh0w92hrgwvsmqkqdw3a9pa4w5f6yg";
 
   nativeBuildInputs = [ pkgconfig llvmPackages.libclang installShellFiles makeWrapper ];
 
@@ -23,8 +23,8 @@ rustPlatform.buildRustPackage rec {
   LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
 
   postInstall = ''
-    installManPage doc/bat.1
-    installShellCompletion assets/completions/bat.fish
+    installManPage $releaseDir/build/bat-*/out/assets/manual/bat.1
+    installShellCompletion $releaseDir/build/bat-*/out/assets/completions/bat.fish
   '';
 
   # 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 {
 
   meta = with stdenv.lib; {
     description = "A cat(1) clone with syntax highlighting and Git integration";
-    homepage    = https://github.com/sharkdp/bat;
+    homepage    = "https://github.com/sharkdp/bat";
     license     = with licenses; [ asl20 /* or */ mit ];
     maintainers = with maintainers; [ dywedir lilyball ];
     platforms   = platforms.all;