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
This commit is contained in:
huantian 2023-07-01 15:29:22 -07:00
parent cda1d30f9c
commit 8361dd6889
No known key found for this signature in database
GPG Key ID: 4A0318E04E555DE5

View File

@ -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 ];
};
}