Unverified Commit 8361dd68 authored by huantian's avatar huantian
Browse files

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
parent cda1d30f
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -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 ];
  };
}