Naïm Favier 2021-08-03 14:22:25 +02:00
parent f0672fa7fb
commit 4affbbd371
No known key found for this signature in database
GPG Key ID: 49B07322580B7EE2

View File

@ -53,16 +53,16 @@ let
in in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "alacritty"; pname = "alacritty";
version = "0.8.0"; version = "0.9.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alacritty"; owner = "alacritty";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-9pQqnsLMkzhKTs7WGhf6lac/LGot6EmJQxgFBTrHA4E="; sha256 = "sha256-kgZEbOGmO+uRKaWR+oQBiGkBzDSuCznUyWNUoMICHhk=";
}; };
cargoSha256 = "sha256-NtDeXS2g+5RzKHJdDrbzL5oReS42SzuEubkfZ4gbkFc="; cargoSha256 = "sha256-JqnYMDkagWNGliUxi5eqJN92ULsvT7Fwmah8um1xaRw=";
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
@ -99,6 +99,7 @@ rustPlatform.buildRustPackage rec {
ln -s $out/bin $out/Applications/Alacritty.app/Contents/MacOS ln -s $out/bin $out/Applications/Alacritty.app/Contents/MacOS
'' else '' '' else ''
install -D extra/linux/Alacritty.desktop -t $out/share/applications/ 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/logo/compat/alacritty-term.svg $out/share/icons/hicolor/scalable/apps/Alacritty.svg 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: # patchelf generates an ELF that binutils' "strip" doesn't like: