rio: 0.0.8 -> 0.0.9

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2023-07-15 23:20:23 -03:00 committed by Anderson Torres
parent 0a93242075
commit 99d417bab0

View File

@ -43,16 +43,16 @@ let
in in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "rio"; pname = "rio";
version = "0.0.8"; version = "0.0.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "raphamorim"; owner = "raphamorim";
repo = "rio"; repo = "rio";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-NonIMGBASbkbc5JsHKwfaZ9dGQt1f8+hFh/FFyIlIZs="; hash = "sha256-faK0KShbMUuvFbR2m9oCeWSwwrSxyXNWreODtHFyp5U=";
}; };
cargoHash = "sha256-4IJJtLa25aZkFwkMYpnYyRQLeqoBwncgCjorF6Gx6pk="; cargoHash = "sha256-54uyqk6fW3pHCK7JC5T7c8C/0Hcq0K/PBn71tNwnA0g=";
nativeBuildInputs = [ nativeBuildInputs = [
autoPatchelfHook autoPatchelfHook
@ -72,6 +72,11 @@ rustPlatform.buildRustPackage rec {
(lib.optionalString withWayland "wayland") (lib.optionalString withWayland "wayland")
]; ];
checkFlags = [
# Fail to run in sandbox environment.
"--skip=screen::context::test"
];
postInstall = '' postInstall = ''
install -dm 755 "$terminfo/share/terminfo/r/" install -dm 755 "$terminfo/share/terminfo/r/"
tic -xe rio,rio-direct -o "$terminfo/share/terminfo" misc/rio.terminfo tic -xe rio,rio-direct -o "$terminfo/share/terminfo" misc/rio.terminfo