alacritty: 0.3.3 -> 0.4.0
Also: - remove postPatch (config is not generated anymore; i.e. there's no `mouse.rs` or `xdg-open` mentions anywhere
This commit is contained in:
parent
5e5f17da08
commit
c8ca52c6c0
@ -52,16 +52,16 @@ let
|
|||||||
];
|
];
|
||||||
in buildRustPackage rec {
|
in buildRustPackage rec {
|
||||||
pname = "alacritty";
|
pname = "alacritty";
|
||||||
version = "0.3.3";
|
version = "0.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jwilm";
|
owner = "jwilm";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1h9zid7bi19qga3a8a2d4x3ma9wf1njmj74s4xnw7nzqqf3dh750";
|
sha256 = "0adaqdbma6gskb2g14yscrgr9gch5wf2g2clchplv72c2qr1k427";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "1rxb5ljgvn881jkxm8772kf815mmp08ci7sqmn2x1jwdcrphhxr1";
|
cargoSha256 = "1r267g8f986nxh8ms5yhp50qy1yl8gly2jr78p738qqc6frlxlhv";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
@ -76,10 +76,6 @@ in buildRustPackage rec {
|
|||||||
++ lib.optionals stdenv.isDarwin [ AppKit CoreGraphics CoreServices CoreText Foundation OpenGL ];
|
++ lib.optionals stdenv.isDarwin [ AppKit CoreGraphics CoreServices CoreText Foundation OpenGL ];
|
||||||
|
|
||||||
outputs = [ "out" "terminfo" ];
|
outputs = [ "out" "terminfo" ];
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace alacritty_terminal/src/config/mouse.rs \
|
|
||||||
--replace xdg-open ${xdg_utils}/bin/xdg-open
|
|
||||||
'';
|
|
||||||
|
|
||||||
postBuild = lib.optionalString stdenv.isDarwin "make app";
|
postBuild = lib.optionalString stdenv.isDarwin "make app";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user