bat: 0.12.1 -> 0.13.0
Changelog: https://github.com/sharkdp/bat/releases/tag/v0.13.0
This commit is contained in:
parent
32830875e4
commit
0c59458e44
1 changed files with 6 additions and 6 deletions
|
@ -4,17 +4,17 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "bat";
|
pname = "bat";
|
||||||
version = "0.12.1";
|
version = "0.13.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sharkdp";
|
owner = "sharkdp";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1cpa8dal4c27pnbmmrar4vqzcl4h0zf8x1zx1dlf0riavdg9n56y";
|
sha256 = "1kaa6ps6v1wk9qs63h116k4pbz7y9mfbfxfbq7g89yjhzkjmh6xc";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "17xyb84axkn341nd5rm7jza1lrn8wcnl6jirhyv63r5k6mswy39i";
|
cargoSha256 = "01l1y124gjh6gf9z1jkbpfzh0w92hrgwvsmqkqdw3a9pa4w5f6yg";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig llvmPackages.libclang installShellFiles makeWrapper ];
|
nativeBuildInputs = [ pkgconfig llvmPackages.libclang installShellFiles makeWrapper ];
|
||||||
|
|
||||||
|
@ -23,8 +23,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installManPage doc/bat.1
|
installManPage $releaseDir/build/bat-*/out/assets/manual/bat.1
|
||||||
installShellCompletion assets/completions/bat.fish
|
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
|
# 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; {
|
meta = with stdenv.lib; {
|
||||||
description = "A cat(1) clone with syntax highlighting and Git integration";
|
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 ];
|
license = with licenses; [ asl20 /* or */ mit ];
|
||||||
maintainers = with maintainers; [ dywedir lilyball ];
|
maintainers = with maintainers; [ dywedir lilyball ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
|
Loading…
Reference in a new issue