Unverified Commit 5fca7a91 authored by Adam C. Stephens's avatar Adam C. Stephens Committed by GitHub
Browse files

envision-unwrapped: 0-unstable-2024-07-03 -> 0-unstable-2024-09-06 (#340267)

parents ca238778 764f7c10
Loading
Loading
Loading
Loading
+372 −190

File changed.

Preview size limit exceeded, changes collapsed.

+21 −21
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitLab,
  writeScript,
  appstream-glib,
  cargo,
  meson,
  ninja,
  pkg-config,
  rustPlatform,
  rustc,
  wrapGAppsHook4,
  cairo,
  cargo,
  desktop-file-utils,
  fetchFromGitLab,
  gdb,
  gdk-pixbuf,
  git,
  glib,
  gtk4,
  gtksourceview5,
  lib,
  libadwaita,
  libgit2,
  libusb1,
  meson,
  ninja,
  nix-update-script,
  openssl,
  openxr-loader,
  pango,
  pkg-config,
  rustPlatform,
  rustc,
  stdenv,
  vte-gtk4,
  wrapGAppsHook4,
  zlib,
  unstableGitUpdater,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "envision-unwrapped";
  version = "0-unstable-2024-07-03";
  version = "0-unstable-2024-09-06";

  src = fetchFromGitLab {
    owner = "gabmus";
    repo = "envision";
    rev = "6cf5e40b96d1cbd99a3cfcef1f03899356e79448";
    hash = "sha256-a/IUNGoq9OKEC3uCg6PUp2TRHkfm4mTT3QQ8SfA29RU=";
    rev = "849f47a8533bc3fc673afbdd9b32acac3ff26f7d";
    hash = "sha256-t1+4MXD1s4NW38r3Ht+1OmCAY44MqEPijXdUVKy0rY4=";
  };

  strictDeps = true;
@@ -44,7 +45,8 @@ stdenv.mkDerivation (finalAttrs: {
  cargoDeps = rustPlatform.importCargoLock {
    lockFile = ./Cargo.lock;
    outputHashes = {
      "libmonado-rs-0.1.0" = "sha256-PsNgfpgso3HhIMXKky/u6Xw8phk1isRpNXKLhvN1wIE=";
      "libmonado-rs-0.1.0" = "sha256-xztevBUaYBm5G3A0ZTb+3GV3g1IAU3SzfSS5BBqfp1Y=";
      "openxr-0.18.0" = "sha256-ktkbhmExstkNJDYM/HYOwAwv3acex7P9SP0KMAOKhQk=";
    };
  };

@@ -52,6 +54,7 @@ stdenv.mkDerivation (finalAttrs: {
    appstream-glib
    desktop-file-utils
    cargo
    git
    meson
    ninja
    pkg-config
@@ -70,6 +73,7 @@ stdenv.mkDerivation (finalAttrs: {
    libgit2
    libusb1
    openssl
    openxr-loader
    pango
    vte-gtk4
    zlib
@@ -80,11 +84,7 @@ stdenv.mkDerivation (finalAttrs: {
      --prefix PATH : "${lib.makeBinPath [ gdb ]}"
  '';

  passthru.updateScript = writeScript "envision-update" ''
    source ${builtins.head (unstableGitUpdater { })}

    cp $tmpdir/Cargo.lock ./pkgs/by-name/en/envision-unwrapped/Cargo.lock
  '';
  passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch=main" ]; };

  meta = {
    description = "UI for building, configuring and running Monado, the open source OpenXR runtime";