Commit 99d417ba authored by Otavio Salvador's avatar Otavio Salvador Committed by Anderson Torres
Browse files

rio: 0.0.8 -> 0.0.9

parent 0a932420
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -43,16 +43,16 @@ let
in
rustPlatform.buildRustPackage rec {
  pname = "rio";
  version = "0.0.8";
  version = "0.0.9";

  src = fetchFromGitHub {
    owner = "raphamorim";
    repo = "rio";
    rev = "v${version}";
    hash = "sha256-NonIMGBASbkbc5JsHKwfaZ9dGQt1f8+hFh/FFyIlIZs=";
    hash = "sha256-faK0KShbMUuvFbR2m9oCeWSwwrSxyXNWreODtHFyp5U=";
  };

  cargoHash = "sha256-4IJJtLa25aZkFwkMYpnYyRQLeqoBwncgCjorF6Gx6pk=";
  cargoHash = "sha256-54uyqk6fW3pHCK7JC5T7c8C/0Hcq0K/PBn71tNwnA0g=";

  nativeBuildInputs = [
    autoPatchelfHook
@@ -72,6 +72,11 @@ rustPlatform.buildRustPackage rec {
    (lib.optionalString withWayland "wayland")
  ];

  checkFlags = [
    # Fail to run in sandbox environment.
    "--skip=screen::context::test"
  ];

  postInstall = ''
    install -dm 755 "$terminfo/share/terminfo/r/"
    tic -xe rio,rio-direct -o "$terminfo/share/terminfo" misc/rio.terminfo