bat: 0.22.1 -> 0.23.0
Diff: https://github.com/sharkdp/bat/compare/v0.22.1...v0.23.0 Changelog: https://github.com/sharkdp/bat/raw/v0.23.0/CHANGELOG.md
This commit is contained in:
parent
49d79a00b8
commit
35272957f5
|
@ -8,30 +8,19 @@
|
||||||
, libiconv
|
, libiconv
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, fetchpatch
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "bat";
|
pname = "bat";
|
||||||
version = "0.22.1";
|
version = "0.23.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sharkdp";
|
owner = "sharkdp";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-xkGGnWjuZ5ZR4Ll+JwgWyKZFboFZ6HKA8GviR3YBAnM=";
|
hash = "sha256-cGHxB3Wp8yEcJBMtSOec6l7iBsMLhUtJ7nh5fijnWZs=";
|
||||||
};
|
};
|
||||||
cargoSha256 = "sha256-ye6GH4pcI9h1CNpobUzfJ+2WlqJ98saCdD77AtSGafg=";
|
cargoHash = "sha256-wZNdYGCLKD80gV1QUTgKsFSNYkbDubknPB3e6dsyEgs=";
|
||||||
|
|
||||||
cargoPatches = [
|
|
||||||
# merged upstream in https://github.com/sharkdp/bat/pull/2399
|
|
||||||
(fetchpatch {
|
|
||||||
name = "disable-completion-of-cache-subcommand.patch";
|
|
||||||
url = "https://github.com/sharkdp/bat/commit/b6b9d3a629bd9b08725df2a4e7b92c3023584a89.patch";
|
|
||||||
hash = "sha256-G4LajO09+qfhpr+HRvAHCuE9EETit2e16ZEyAtz26B4=";
|
|
||||||
excludes = [ "CHANGELOG.md" ];
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config installShellFiles makeWrapper ];
|
nativeBuildInputs = [ pkg-config installShellFiles makeWrapper ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue