Unverified Commit 299d331f authored by nixpkgs-ci[bot]'s avatar nixpkgs-ci[bot] Committed by GitHub
Browse files

opengamepadui: 0.42.3 -> 0.44.0 (#478126)

parents 95f6b2fa 36484791
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
  dbus,
  fetchFromGitHub,
  gamescope,
  godot_4_4,
  godot_4_5,
  hwdata,
  lib,
  libGL,
@@ -23,7 +23,7 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "opengamepadui";
  version = "0.42.3";
  version = "0.44.0";

  buildType = if withDebug then "debug" else "release";

@@ -31,7 +31,7 @@ stdenv.mkDerivation (finalAttrs: {
    owner = "ShadowBlip";
    repo = "OpenGamepadUI";
    tag = "v${finalAttrs.version}";
    hash = "sha256-sqzCGGrMxOjepi9GxJFCAY+tzuIwOgs5qYeIYKb7Y1U=";
    hash = "sha256-hVOoo6YHgGJMksVbn9PqDNQedw7Zxxrmydwxh6qVebo=";
  };

  cargoDeps = rustPlatform.fetchCargoVendor {
@@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: {

  nativeBuildInputs = [
    cargo
    godot_4_4
    godot_4_5
    pkg-config
    rustPlatform.cargoSetupHook
  ];
@@ -51,13 +51,13 @@ stdenv.mkDerivation (finalAttrs: {

  env =
    let
      versionAndRelease = lib.splitString "-" godot_4_4.version;
      versionAndRelease = lib.splitString "-" godot_4_5.version;
    in
    {
      GODOT = lib.getExe godot_4_4;
      GODOT = lib.getExe godot_4_5;
      GODOT_VERSION = lib.elemAt versionAndRelease 0;
      GODOT_RELEASE = lib.elemAt versionAndRelease 1;
      EXPORT_TEMPLATE = "${godot_4_4.export-template}/share/godot/export_templates";
      EXPORT_TEMPLATE = "${godot_4_5.export-template}/share/godot/export_templates";
      BUILD_TYPE = "${finalAttrs.buildType}";
    };