Loading pkgs/by-name/op/opengamepadui/package.nix +10 −10 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ dbus, fetchFromGitHub, gamescope, godot_4_3, godot_4_4, hwdata, lib, libGL, Loading @@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "opengamepadui"; version = "0.35.8"; version = "0.37.0"; buildType = if withDebug then "debug" else "release"; Loading @@ -32,21 +32,21 @@ stdenv.mkDerivation (finalAttrs: { owner = "ShadowBlip"; repo = "OpenGamepadUI"; tag = "v${finalAttrs.version}"; hash = "sha256-vMb08Wqjt5j6IgMnXuZr6MGNk1CprVn2GTNDdOxnFG0="; hash = "sha256-kzGFyzOu4Pkj+a7kExFwxFu35qfoLoWz3uqd8COUTNA="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) src; sourceRoot = "source/${finalAttrs.cargoRoot}"; hash = "sha256-sTzMewIfKHbmVhSPZgUIzFFz1ahK+PMoQ5oB4GEt8nY="; hash = "sha256-T79G2bShJuFRfaCqG3IDHqW0s68yAdGyv58kdDYg6kg="; }; cargoRoot = "extensions"; nativeBuildInputs = [ autoPatchelfHook cargo godot_4_3 godot_4_3.export-templates-bin godot_4_4 godot_4_4.export-templates-bin pkg-config rustPlatform.cargoSetupHook ]; Loading Loading @@ -75,13 +75,13 @@ stdenv.mkDerivation (finalAttrs: { env = let versionAndRelease = lib.splitString "-" godot_4_3.version; versionAndRelease = lib.splitString "-" godot_4_4.version; in { GODOT = lib.getExe godot_4_3; GODOT = lib.getExe godot_4_4; GODOT_VERSION = lib.elemAt versionAndRelease 0; GODOT_RELEASE = lib.elemAt versionAndRelease 1; EXPORT_TEMPLATE = "${godot_4_3.export-templates-bin}"; EXPORT_TEMPLATE = "${godot_4_4.export-templates-bin}"; BUILD_TYPE = "${finalAttrs.buildType}"; }; Loading @@ -93,7 +93,7 @@ stdenv.mkDerivation (finalAttrs: { # Godot looks for export templates in HOME export HOME=$(mktemp -d) mkdir -p $HOME/.local/share/godot/export_templates ln -s "${godot_4_3.export-templates-bin}" "$HOME/.local/share/godot/export_templates/$GODOT_VERSION.$GODOT_RELEASE" ln -s "${godot_4_4.export-templates-bin}" "$HOME/.local/share/godot/export_templates/$GODOT_VERSION.$GODOT_RELEASE" ''; postInstall = '' Loading Loading
pkgs/by-name/op/opengamepadui/package.nix +10 −10 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ dbus, fetchFromGitHub, gamescope, godot_4_3, godot_4_4, hwdata, lib, libGL, Loading @@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "opengamepadui"; version = "0.35.8"; version = "0.37.0"; buildType = if withDebug then "debug" else "release"; Loading @@ -32,21 +32,21 @@ stdenv.mkDerivation (finalAttrs: { owner = "ShadowBlip"; repo = "OpenGamepadUI"; tag = "v${finalAttrs.version}"; hash = "sha256-vMb08Wqjt5j6IgMnXuZr6MGNk1CprVn2GTNDdOxnFG0="; hash = "sha256-kzGFyzOu4Pkj+a7kExFwxFu35qfoLoWz3uqd8COUTNA="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) src; sourceRoot = "source/${finalAttrs.cargoRoot}"; hash = "sha256-sTzMewIfKHbmVhSPZgUIzFFz1ahK+PMoQ5oB4GEt8nY="; hash = "sha256-T79G2bShJuFRfaCqG3IDHqW0s68yAdGyv58kdDYg6kg="; }; cargoRoot = "extensions"; nativeBuildInputs = [ autoPatchelfHook cargo godot_4_3 godot_4_3.export-templates-bin godot_4_4 godot_4_4.export-templates-bin pkg-config rustPlatform.cargoSetupHook ]; Loading Loading @@ -75,13 +75,13 @@ stdenv.mkDerivation (finalAttrs: { env = let versionAndRelease = lib.splitString "-" godot_4_3.version; versionAndRelease = lib.splitString "-" godot_4_4.version; in { GODOT = lib.getExe godot_4_3; GODOT = lib.getExe godot_4_4; GODOT_VERSION = lib.elemAt versionAndRelease 0; GODOT_RELEASE = lib.elemAt versionAndRelease 1; EXPORT_TEMPLATE = "${godot_4_3.export-templates-bin}"; EXPORT_TEMPLATE = "${godot_4_4.export-templates-bin}"; BUILD_TYPE = "${finalAttrs.buildType}"; }; Loading @@ -93,7 +93,7 @@ stdenv.mkDerivation (finalAttrs: { # Godot looks for export templates in HOME export HOME=$(mktemp -d) mkdir -p $HOME/.local/share/godot/export_templates ln -s "${godot_4_3.export-templates-bin}" "$HOME/.local/share/godot/export_templates/$GODOT_VERSION.$GODOT_RELEASE" ln -s "${godot_4_4.export-templates-bin}" "$HOME/.local/share/godot/export_templates/$GODOT_VERSION.$GODOT_RELEASE" ''; postInstall = '' Loading