alacritty: init at 2017-07-08

fixes #21801
This commit is contained in:
Jörg Thalheim 2017-04-01 17:06:19 +02:00
parent 5442484c5f
commit 63402a1888
2 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,61 @@
{ stdenv,
fetchFromGitHub,
rustPlatform,
cmake,
makeWrapper,
expat,
pkgconfig,
freetype,
fontconfig,
libX11,
gperf,
libXcursor,
libXxf86vm,
libXi,
xclip }:
with rustPlatform;
buildRustPackage rec {
name = "alacritty-unstable-2017-07-08";
src = fetchFromGitHub {
owner = "jwilm";
repo = "alacritty";
rev = "94849c4f2a19bd49337f5cf090f94ac6a940c414";
sha256 = "0cawrq0787pcfifn5awccq29a1ag85wfbmx1ccz7m33prk3ry9jp";
};
depsSha256 = "0lb83aan6lgdsdcrd6zdrxhz5bi96cw4ygqqlpm43w42chwzz0xj";
buildInputs = [
cmake
makeWrapper
freetype
fontconfig
xclip
pkgconfig
expat
libX11
libXcursor
libXxf86vm
libXi
];
installPhase = ''
mkdir -p $out/bin
for f in $(find target/release -maxdepth 1 -type f); do
cp $f $out/bin
done;
wrapProgram $out/bin/alacritty --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath buildInputs}"
'';
meta = with stdenv.lib; {
description = "GPU-accelerated terminal emulator";
homepage = https://github.com/jwilm/alacritty;
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ mic92 ];
platforms = platforms.all;
};
}

View File

@ -412,6 +412,10 @@ with pkgs;
albert = libsForQt5.callPackage ../applications/misc/albert {};
alacritty = callPackage ../applications/misc/alacritty {
inherit (xorg) libXcursor libXxf86vm libXi;
};
amazon-glacier-cmd-interface = callPackage ../tools/backup/amazon-glacier-cmd-interface { };
ammonite = callPackage ../development/tools/ammonite {};