Merge pull request #192780 from trofi/alacritty-update

alacritty: 0.10.1 -> 0.11.0-rc2
This commit is contained in:
Jörg Thalheim 2022-09-29 17:17:25 +02:00 committed by GitHub
commit bbc75aace1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,16 +54,16 @@ let
in
rustPlatform.buildRustPackage rec {
pname = "alacritty";
version = "0.10.1";
version = "0.11.0-rc2";
src = fetchFromGitHub {
owner = "alacritty";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-Q/ulRgU6zNLRZUjL83O/Krx85voPWZPZDo65CLp/aOg=";
hash = "sha256-svo7DIPgNQy+MkIrRtRQjKQ2ND0CRfofSCiXJqoWby0=";
};
cargoSha256 = "sha256-S1V8hDuzp4sf6945gqs8QNVdu8jwPGVYjVbV6EY28Hk=";
cargoSha256 = "sha256-ClAW7WjnDs4Peu+UqcOwtuDDkWYWACMQU5p39CiIFm0=";
nativeBuildInputs = [
cmake
@ -101,7 +101,7 @@ rustPlatform.buildRustPackage rec {
ln -s $out/bin $out/Applications/Alacritty.app/Contents/MacOS
'' else ''
install -D extra/linux/Alacritty.desktop -t $out/share/applications/
install -D extra/linux/io.alacritty.Alacritty.appdata.xml -t $out/share/appdata/
install -D extra/linux/org.alacritty.Alacritty.appdata.xml -t $out/share/appdata/
install -D extra/logo/compat/alacritty-term.svg $out/share/icons/hicolor/scalable/apps/Alacritty.svg
# patchelf generates an ELF that binutils' "strip" doesn't like: