alacritty: 2017-10-17 -> 2017-10-22, remove broken status
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{ stdenv,
|
{ stdenv,
|
||||||
fetchFromGitHub,
|
fetchgit,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
cmake,
|
cmake,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
@@ -29,16 +29,19 @@ let
|
|||||||
in
|
in
|
||||||
|
|
||||||
buildRustPackage rec {
|
buildRustPackage rec {
|
||||||
name = "alacritty-unstable-2017-10-17";
|
name = "alacritty-unstable-${version}";
|
||||||
|
version = "2017-10-22";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
# At the moment we cannot handle git dependencies in buildRustPackage.
|
||||||
owner = "jwilm";
|
# This fork only replaces rust-fontconfig/libfontconfig with a git submodules.
|
||||||
repo = "alacritty";
|
src = fetchgit {
|
||||||
rev = "5ac42bb13bc68c5cbc44869dc9fc9ac19402a6e6";
|
url = https://github.com/Mic92/alacritty.git;
|
||||||
sha256 = "0h37x12r33xwz9vf1n8y24c0ph5w17lhkpfi5q6lbpgidvbs6fyx";
|
rev = "rev-${version}";
|
||||||
|
sha256 = "02wvwi72hnqmy12n0b248wzhajni9ipyayz6vnn3ryhnrccrrp7j";
|
||||||
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "0w3j92kd27pny37pfvlv6qsnbb1lgphmfbhvvng0z96r2b1wjviz";
|
cargoSha256 = "14bmm1f7hqh8i4mpb6ljh7szrm4g6mplzpq9zbgjrgxnc01w3s0i";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmake
|
cmake
|
||||||
@@ -54,14 +57,10 @@ buildRustPackage rec {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/bin
|
install -D target/release/alacritty $out/bin/alacritty
|
||||||
for f in $(find target/release -maxdepth 1 -type f); do
|
|
||||||
cp $f $out/bin
|
|
||||||
done;
|
|
||||||
patchelf --set-rpath "${stdenv.lib.makeLibraryPath rpathLibs}" $out/bin/alacritty
|
patchelf --set-rpath "${stdenv.lib.makeLibraryPath rpathLibs}" $out/bin/alacritty
|
||||||
|
|
||||||
mkdir -p $out/share/applications
|
install -D Alacritty.desktop $out/share/applications/alacritty.desktop
|
||||||
cp Alacritty.desktop $out/share/applications/alacritty.desktop
|
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
@@ -69,7 +68,6 @@ buildRustPackage rec {
|
|||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
broken = true;
|
|
||||||
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 = with licenses; [ asl20 ];
|
||||||
|
|||||||
Reference in New Issue
Block a user