lol

opengamepadui: 0.35.8 -> 0.37.0 (#390862)

authored by

Peder Bergebakken Sundt and committed by
GitHub
78585049 66801680

+10 -10
+10 -10
pkgs/by-name/op/opengamepadui/package.nix
··· 5 dbus, 6 fetchFromGitHub, 7 gamescope, 8 - godot_4_3, 9 hwdata, 10 lib, 11 libGL, ··· 24 25 stdenv.mkDerivation (finalAttrs: { 26 pname = "opengamepadui"; 27 - version = "0.35.8"; 28 29 buildType = if withDebug then "debug" else "release"; 30 ··· 32 owner = "ShadowBlip"; 33 repo = "OpenGamepadUI"; 34 tag = "v${finalAttrs.version}"; 35 - hash = "sha256-vMb08Wqjt5j6IgMnXuZr6MGNk1CprVn2GTNDdOxnFG0="; 36 }; 37 38 cargoDeps = rustPlatform.fetchCargoVendor { 39 inherit (finalAttrs) src; 40 sourceRoot = "source/${finalAttrs.cargoRoot}"; 41 - hash = "sha256-sTzMewIfKHbmVhSPZgUIzFFz1ahK+PMoQ5oB4GEt8nY="; 42 }; 43 cargoRoot = "extensions"; 44 45 nativeBuildInputs = [ 46 autoPatchelfHook 47 cargo 48 - godot_4_3 49 - godot_4_3.export-templates-bin 50 pkg-config 51 rustPlatform.cargoSetupHook 52 ]; ··· 75 76 env = 77 let 78 - versionAndRelease = lib.splitString "-" godot_4_3.version; 79 in 80 { 81 - GODOT = lib.getExe godot_4_3; 82 GODOT_VERSION = lib.elemAt versionAndRelease 0; 83 GODOT_RELEASE = lib.elemAt versionAndRelease 1; 84 - EXPORT_TEMPLATE = "${godot_4_3.export-templates-bin}"; 85 BUILD_TYPE = "${finalAttrs.buildType}"; 86 }; 87 ··· 93 # Godot looks for export templates in HOME 94 export HOME=$(mktemp -d) 95 mkdir -p $HOME/.local/share/godot/export_templates 96 - ln -s "${godot_4_3.export-templates-bin}" "$HOME/.local/share/godot/export_templates/$GODOT_VERSION.$GODOT_RELEASE" 97 ''; 98 99 postInstall = ''
··· 5 dbus, 6 fetchFromGitHub, 7 gamescope, 8 + godot_4_4, 9 hwdata, 10 lib, 11 libGL, ··· 24 25 stdenv.mkDerivation (finalAttrs: { 26 pname = "opengamepadui"; 27 + version = "0.37.0"; 28 29 buildType = if withDebug then "debug" else "release"; 30 ··· 32 owner = "ShadowBlip"; 33 repo = "OpenGamepadUI"; 34 tag = "v${finalAttrs.version}"; 35 + hash = "sha256-kzGFyzOu4Pkj+a7kExFwxFu35qfoLoWz3uqd8COUTNA="; 36 }; 37 38 cargoDeps = rustPlatform.fetchCargoVendor { 39 inherit (finalAttrs) src; 40 sourceRoot = "source/${finalAttrs.cargoRoot}"; 41 + hash = "sha256-T79G2bShJuFRfaCqG3IDHqW0s68yAdGyv58kdDYg6kg="; 42 }; 43 cargoRoot = "extensions"; 44 45 nativeBuildInputs = [ 46 autoPatchelfHook 47 cargo 48 + godot_4_4 49 + godot_4_4.export-templates-bin 50 pkg-config 51 rustPlatform.cargoSetupHook 52 ]; ··· 75 76 env = 77 let 78 + versionAndRelease = lib.splitString "-" godot_4_4.version; 79 in 80 { 81 + GODOT = lib.getExe godot_4_4; 82 GODOT_VERSION = lib.elemAt versionAndRelease 0; 83 GODOT_RELEASE = lib.elemAt versionAndRelease 1; 84 + EXPORT_TEMPLATE = "${godot_4_4.export-templates-bin}"; 85 BUILD_TYPE = "${finalAttrs.buildType}"; 86 }; 87 ··· 93 # Godot looks for export templates in HOME 94 export HOME=$(mktemp -d) 95 mkdir -p $HOME/.local/share/godot/export_templates 96 + ln -s "${godot_4_4.export-templates-bin}" "$HOME/.local/share/godot/export_templates/$GODOT_VERSION.$GODOT_RELEASE" 97 ''; 98 99 postInstall = ''