wezterm: 20210314 -> 20210407-nightly, add SuperSandro2000 as maintainer

This commit is contained in:
Pablo Ovelleiro Corral 2021-04-07 08:16:27 +02:00 committed by github-actions[bot]
parent fd12aef5f6
commit 1618465939

View File

@ -2,19 +2,11 @@
, rustPlatform , rustPlatform
, lib , lib
, fetchFromGitHub , fetchFromGitHub
, pkg-config , pkg-config
, fontconfig , fontconfig
, python3 , python3
, openssl , openssl
, perl , perl
# Apple frameworks
, CoreGraphics
, Cocoa
, Foundation
, libiconv
, dbus , dbus
, libX11 , libX11
, xcbutil , xcbutil
@ -30,6 +22,11 @@
, libGL , libGL
, freetype , freetype
, zlib , zlib
# Apple frameworks
, CoreGraphics
, Cocoa
, Foundation
, libiconv
}: }:
let let
runtimeDeps = [ runtimeDeps = [
@ -50,38 +47,38 @@ let
wayland wayland
libGLU libGLU
libGL libGL
openssl
] ++ lib.optionals (stdenv.isDarwin) [ ] ++ lib.optionals (stdenv.isDarwin) [
Foundation Foundation
CoreGraphics CoreGraphics
Cocoa Cocoa
libiconv libiconv
]; ];
pname = "wezterm";
in in
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage rec {
inherit pname; pname = "wezterm";
version = "20210314"; version = "20210407-nightly";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "wez"; owner = "wez";
repo = pname; repo = pname;
rev = "20210314-114017-04b7cedd"; rev = "d2419fb99e567e3b260980694cc840a1a3b86922";
sha256 = "sha256-EwoJLwOgoXtTEBbf/4pM+pCCG8fGkVruHVYh2HivCd0="; sha256 = "4tVjrdDlrDPKzcbTYK9vRlzfC9tfvkD+D0aN19A8RWE=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
cargoSha256 = "sha256-OHbWgnlul9VfbPcMdzbuRJG59+myiukkzmnWohj5v2k=";
cargoSha256 = "sha256-UaXeeuRuQk+CWF936mEAaWTjZuTSRPmxbQ/9E2oZIqg=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
python3 python3
openssl.dev
perl perl
]; ];
buildInputs = runtimeDeps; buildInputs = runtimeDeps;
preFixup = "" + lib.optionalString stdenv.isLinux '' preFixup = lib.optionalString stdenv.isLinux ''
for artifact in wezterm wezterm-gui wezterm-mux-server strip-ansi-escapes; do for artifact in wezterm wezterm-gui wezterm-mux-server strip-ansi-escapes; do
patchelf --set-rpath "${lib.makeLibraryPath runtimeDeps}" $out/bin/$artifact patchelf --set-rpath "${lib.makeLibraryPath runtimeDeps}" $out/bin/$artifact
done done
@ -101,7 +98,7 @@ rustPlatform.buildRustPackage {
description = "A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust"; description = "A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust";
homepage = "https://wezfurlong.org/wezterm"; homepage = "https://wezfurlong.org/wezterm";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ steveej ]; maintainers = with maintainers; [ steveej SuperSandro2000 ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }