mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
alacritty: 0.4.0 -> 0.4.1
This commit is contained in:
parent
554e020002
commit
d4b4c29da6
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
cmake,
|
cmake,
|
||||||
gzip,
|
gzip,
|
||||||
|
installShellFiles,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
ncurses,
|
ncurses,
|
||||||
pkgconfig,
|
pkgconfig,
|
||||||
|
@ -52,20 +53,21 @@ let
|
||||||
];
|
];
|
||||||
in buildRustPackage rec {
|
in buildRustPackage rec {
|
||||||
pname = "alacritty";
|
pname = "alacritty";
|
||||||
version = "0.4.0";
|
version = "0.4.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jwilm";
|
owner = "jwilm";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0adaqdbma6gskb2g14yscrgr9gch5wf2g2clchplv72c2qr1k427";
|
sha256 = "05jcg33ifngpzw2hdhgb614j87ihhhlqgar0kky183rywg0dxikg";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "1r267g8f986nxh8ms5yhp50qy1yl8gly2jr78p738qqc6frlxlhv";
|
cargoSha256 = "1kc9n10kb4j87x337pzl6wpi0qj5ib2mqmrjag2yld3138dag71n";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
gzip
|
gzip
|
||||||
|
installShellFiles
|
||||||
makeWrapper
|
makeWrapper
|
||||||
ncurses
|
ncurses
|
||||||
pkgconfig
|
pkgconfig
|
||||||
|
@ -93,9 +95,9 @@ in buildRustPackage rec {
|
||||||
patchelf --set-rpath "${stdenv.lib.makeLibraryPath rpathLibs}" $out/bin/alacritty
|
patchelf --set-rpath "${stdenv.lib.makeLibraryPath rpathLibs}" $out/bin/alacritty
|
||||||
'') + ''
|
'') + ''
|
||||||
|
|
||||||
install -D extra/completions/_alacritty -t "$out/share/zsh/site-functions/"
|
installShellCompletion --zsh extra/completions/_alacritty
|
||||||
install -D extra/completions/alacritty.bash -t "$out/etc/bash_completion.d/"
|
installShellCompletion --bash extra/completions/alacritty.bash
|
||||||
install -D extra/completions/alacritty.fish -t "$out/share/fish/vendor_completions.d/"
|
installShellCompletion --fish extra/completions/alacritty.fish
|
||||||
|
|
||||||
install -dm 755 "$out/share/man/man1"
|
install -dm 755 "$out/share/man/man1"
|
||||||
gzip -c extra/alacritty.man > "$out/share/man/man1/alacritty.1.gz"
|
gzip -c extra/alacritty.man > "$out/share/man/man1/alacritty.1.gz"
|
||||||
|
@ -112,9 +114,9 @@ in buildRustPackage rec {
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "GPU-accelerated terminal emulator";
|
description = "GPU-accelerated terminal emulator";
|
||||||
homepage = https://github.com/jwilm/alacritty;
|
homepage = "https://github.com/jwilm/alacritty";
|
||||||
license = with licenses; [ asl20 ];
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ filalex77 mic92 ];
|
maintainers = with maintainers; [ filalex77 mic92 ];
|
||||||
platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ];
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue