From 8361dd68894dd5773a9aee77aaa81b30a1811334 Mon Sep 17 00:00:00 2001 From: huantian Date: Sat, 1 Jul 2023 15:29:22 -0700 Subject: [PATCH] unityhub: edit libraries, update meta xdg-utils moved to targetPkgs because it's used for its binaries nss_latest -> nss as we don't need nss_latest for this package added sourceProvenance, and added downloadPage/changelog --- pkgs/development/tools/unityhub/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/unityhub/default.nix b/pkgs/development/tools/unityhub/default.nix index 423646b3bc15..40ff23f7159d 100644 --- a/pkgs/development/tools/unityhub/default.nix +++ b/pkgs/development/tools/unityhub/default.nix @@ -27,7 +27,9 @@ stdenv.mkDerivation rec { runScript = ""; targetPkgs = pkgs: with pkgs; [ + # Unity Hub binary dependencies xorg.libXrandr + xdg-utils # GTK filepicker gsettings-desktop-schemas @@ -48,7 +50,7 @@ stdenv.mkDerivation rec { lttng-ust_2_12 krb5 alsa-lib - nss_latest + nss libdrm mesa nspr @@ -69,7 +71,6 @@ stdenv.mkDerivation rec { libva openssl cairo - xdg-utils libnotify libuuid libsecret @@ -131,9 +132,12 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Official Unity3D app to download and manage Unity Projects and installations"; - homepage = "https://unity3d.com/"; + homepage = "https://unity.com/"; + downloadPage = "https://unity.com/unity-hub"; + changelog = "https://unity.com/unity-hub/release-notes"; license = licenses.unfree; maintainers = with maintainers; [ tesq0 huantian ]; platforms = [ "x86_64-linux" ]; + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; }; }