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

This commit is contained in:
Adam C. Stephens 2024-09-07 14:03:20 -04:00 committed by GitHub
commit 5fca7a9181
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 402 additions and 220 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,42 +1,43 @@
{ {
lib,
stdenv,
fetchFromGitLab,
writeScript,
appstream-glib, appstream-glib,
cargo,
meson,
ninja,
pkg-config,
rustPlatform,
rustc,
wrapGAppsHook4,
cairo, cairo,
cargo,
desktop-file-utils, desktop-file-utils,
fetchFromGitLab,
gdb, gdb,
gdk-pixbuf, gdk-pixbuf,
git,
glib, glib,
gtk4, gtk4,
gtksourceview5, gtksourceview5,
lib,
libadwaita, libadwaita,
libgit2, libgit2,
libusb1, libusb1,
meson,
ninja,
nix-update-script,
openssl, openssl,
openxr-loader,
pango, pango,
pkg-config,
rustPlatform,
rustc,
stdenv,
vte-gtk4, vte-gtk4,
wrapGAppsHook4,
zlib, zlib,
unstableGitUpdater,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "envision-unwrapped"; pname = "envision-unwrapped";
version = "0-unstable-2024-07-03"; version = "0-unstable-2024-09-06";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "gabmus"; owner = "gabmus";
repo = "envision"; repo = "envision";
rev = "6cf5e40b96d1cbd99a3cfcef1f03899356e79448"; rev = "849f47a8533bc3fc673afbdd9b32acac3ff26f7d";
hash = "sha256-a/IUNGoq9OKEC3uCg6PUp2TRHkfm4mTT3QQ8SfA29RU="; hash = "sha256-t1+4MXD1s4NW38r3Ht+1OmCAY44MqEPijXdUVKy0rY4=";
}; };
strictDeps = true; strictDeps = true;
@ -44,7 +45,8 @@ stdenv.mkDerivation (finalAttrs: {
cargoDeps = rustPlatform.importCargoLock { cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { 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 appstream-glib
desktop-file-utils desktop-file-utils
cargo cargo
git
meson meson
ninja ninja
pkg-config pkg-config
@ -70,6 +73,7 @@ stdenv.mkDerivation (finalAttrs: {
libgit2 libgit2
libusb1 libusb1
openssl openssl
openxr-loader
pango pango
vte-gtk4 vte-gtk4
zlib zlib
@ -80,11 +84,7 @@ stdenv.mkDerivation (finalAttrs: {
--prefix PATH : "${lib.makeBinPath [ gdb ]}" --prefix PATH : "${lib.makeBinPath [ gdb ]}"
''; '';
passthru.updateScript = writeScript "envision-update" '' passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch=main" ]; };
source ${builtins.head (unstableGitUpdater { })}
cp $tmpdir/Cargo.lock ./pkgs/by-name/en/envision-unwrapped/Cargo.lock
'';
meta = { meta = {
description = "UI for building, configuring and running Monado, the open source OpenXR runtime"; description = "UI for building, configuring and running Monado, the open source OpenXR runtime";