Merge pull request #277316 from r-vdp/alacritty_0_13_0

alacritty: 0.12.3 -> 0.13.0
This commit is contained in:
Fabián Heredia Montiel 2024-01-02 17:19:40 -06:00 committed by GitHub
commit 6a4970e919
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 11 deletions

View File

@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, rustPlatform
, nixosTests
@ -11,6 +10,7 @@
, ncurses
, pkg-config
, python3
, scdoc
, expat
, fontconfig
@ -49,16 +49,16 @@ let
in
rustPlatform.buildRustPackage rec {
pname = "alacritty";
version = "0.12.3";
version = "0.13.0";
src = fetchFromGitHub {
owner = "alacritty";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-SUEI7DTgs6NYT4oiqaMBNCQ8gP1XoZjPFIKhob7tfsk=";
hash = "sha256-5jStrLwuuFWlKHIPS5QJ4DUQj9kXLqlpRxeVDXK/uzU=";
};
cargoHash = "sha256-iLhctiCDNpcTxoMrWwUWHBRc6X5rxSH9Jl2EDuktWmw=";
cargoHash = "sha256-IdkDlxT7pvV+LYbEBsjNvDAWg9TDcmneLF1yrIU3BLU=";
nativeBuildInputs = [
cmake
@ -67,6 +67,7 @@ rustPlatform.buildRustPackage rec {
ncurses
pkg-config
python3
scdoc
];
buildInputs = rpathLibs
@ -107,16 +108,17 @@ rustPlatform.buildRustPackage rec {
patchelf --add-rpath "${lib.makeLibraryPath rpathLibs}" $out/bin/alacritty
''
) + ''
installShellCompletion --zsh extra/completions/_alacritty
installShellCompletion --bash extra/completions/alacritty.bash
installShellCompletion --fish extra/completions/alacritty.fish
install -dm 755 "$out/share/man/man1"
gzip -c extra/alacritty.man > "$out/share/man/man1/alacritty.1.gz"
gzip -c extra/alacritty-msg.man > "$out/share/man/man1/alacritty-msg.1.gz"
install -dm 755 "$out/share/man/man5"
install -Dm 644 alacritty.yml $out/share/doc/alacritty.yml
scdoc < extra/man/alacritty.1.scd | gzip -c > $out/share/man/man1/alacritty.1.gz
scdoc < extra/man/alacritty-msg.1.scd | gzip -c > $out/share/man/man1/alacritty-msg.1.gz
scdoc < extra/man/alacritty.5.scd | gzip -c > $out/share/man/man5/alacritty.5.gz
scdoc < extra/man/alacritty-bindings.5.scd | gzip -c > $out/share/man/man5/alacritty-bindings.5.gz
install -dm 755 "$terminfo/share/terminfo/a/"
tic -xe alacritty,alacritty-direct -o "$terminfo/share/terminfo" extra/alacritty.info

View File

@ -6,13 +6,13 @@
stdenvNoCC.mkDerivation (self: {
name = "alacritty-theme";
version = "unstable-2023-11-07";
version = "unstable-2023-12-28";
src = fetchFromGitHub {
owner = "alacritty";
repo = "alacritty-theme";
rev = "808b81b2e88884e8eca5d951b89f54983fa6c237";
hash = "sha256-g5tM6VBPLXin5s7X0PpzWOOGTEwHpVUurWOPqM/O13A=";
rev = "b7a59c92fd54a005893b99479fb0aa466a37a4b7";
hash = "sha256-UBWH4Q9MliqcolFq1tZrfRdzCkUO1pRn84qvZEVw8Gg=";
};
dontConfigure = true;