Merge pull request #222388 from mimame/wezterm-20230320

This commit is contained in:
Sandro 2023-03-27 01:35:22 +02:00 committed by GitHub
commit 9c2f0ffcc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1133 additions and 955 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,6 @@
, rustPlatform
, lib
, fetchFromGitHub
, fetchpatch
, ncurses
, perl
, pkg-config
@ -32,24 +31,16 @@
rustPlatform.buildRustPackage rec {
pname = "wezterm";
version = "20221119-145034-49b9839f";
version = "20230320-124340-559cb7b0";
src = fetchFromGitHub {
owner = "wez";
repo = pname;
rev = version;
fetchSubmodules = true;
sha256 = "sha256-1gnP2Dn4nkhxelUsXMay2VGvgvMjkdEKhFK5AAST++s=";
sha256 = "sha256-u9lOK4DV9NM3CUYjMTovCY4XF5Xxg4V+rQwIjioqTec=";
};
patches = [
# fix build with rust 1.67
(fetchpatch {
url = "https://github.com/wez/wezterm/commit/36519f0d90e1875fb4b3f11f6cbf94c7d716ef78.patch";
sha256 = "sha256-sOGFmDan1uO1xOBCpvlGrSotjfw01MjRg0KVqa5omig=";
})
];
postPatch = ''
echo ${version} > .tag
@ -60,9 +51,9 @@ rustPlatform.buildRustPackage rec {
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"libssh-rs-0.1.4" = "sha256-N1edF1DCSpwXL2lN3Ui3t+fU4Pfx/n7IJVhiIyJn16s=";
"xcb-1.1.1" = "sha256-+AtK9SzD7UrfhX2d9ZSr16SpxbCyEhnLurVfsRNF3es=";
"xcb-imdkit-0.2.0" = "sha256-gP1BgrFTw8d9SfygMVcjYAdEFstYB+wMHiQ7ERsPVDg=";
"image-0.24.5" = "sha256-fTajVwm88OInqCPZerWcSAm1ga46ansQ3EzAmbT58Js=";
"libssh-rs-0.1.5" = "sha256-gxT9mZ+whotZhEoj783aQPlQPqQXd8gQL3zZglMYC1k=";
"xcb-imdkit-0.2.0" = "sha256-QOT9HLlA26DVPUF4ViKH2ckexUsu45KZMdJwoUhW+hA=";
};
};