@@ -1,6 +1,6 @@
11{ stdenv,
22 lib,
3− fetchgit,
3+ fetchFromGitHub,
44 rustPlatform,
55 cmake,
66 makeWrapper,
@@ -51,18 +51,16 @@ let
5151 ];
5252in buildRustPackage rec {
5353 name = "alacritty-unstable-${version}";
54− version = "0.2.0";
55−
56− # At the moment we cannot handle git dependencies in buildRustPackage.
57− # This fork only replaces rust-fontconfig/libfontconfig with a git submodules.
58− src = fetchgit {
59− url = https://github.com/Mic92/alacritty.git;
60− rev = "rev-${version}";
61− sha256 = "1c9izflacm693rwkxwakxgnpkvxwc8mqasr5p7x0ys6xg91h9sxn";
62− fetchSubmodules = true;
54+ version = "0.2.1";
55+
56+ src = fetchFromGitHub {
57+ owner = "jwilm";
58+ repo = "alacritty";
59+ rev = "v${version}";
60+ sha256 = "1402axwjz70gg6ylhhm82f1rl6xvxkr1qy0jx3r4r32vzfap1l67";
6361 };
6462
65− cargoSha256 = "1ijgkwv9ij4haig1h6n2b9xbhp5vahy9vp1sx72wxaaj9476msjx";
63+ cargoSha256 = "0slcyn77svj0686g1vk7kgndzirpkba9jwwybgsdl755r53dswk0";
6664
6765 nativeBuildInputs = [
6866 cmake