Unverified Commit 22363a23 authored by Sepandar's avatar Sepandar Committed by GitHub
Browse files

photonvision: 2024.3.1 -> 2025.2.1 (#389159)

updated photonvision to version 2025.2.1
parent f6f5953c
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
  stdenv,
  fetchurl,
  makeWrapper,
  temurin-jre-bin-11,
  temurin-jre-bin-17,
  bash,
  suitesparse,
  nixosTests,
@@ -11,17 +11,17 @@

stdenv.mkDerivation rec {
  pname = "photonvision";
  version = "2024.3.1";
  version = "2025.2.1";

  src =
    {
      "x86_64-linux" = fetchurl {
        url = "https://github.com/PhotonVision/photonvision/releases/download/v${version}/photonvision-v${version}-linuxx64.jar";
        hash = "sha256-t9drkGFA3IurZqWAkzEaONVJkp5JHMEFBBW50r+SD68=";
        hash = "sha256-yEb6GCt29DjZNDsIqDvF/AiCw3QVMxUFKQM22OlMl7Q=";
      };
      "aarch64-linux" = fetchurl {
        url = "https://github.com/PhotonVision/photonvision/releases/download/v${version}/photonvision-v${version}-linuxarm64.jar";
        hash = "sha256-ninCVxse0x6lBA2NL3kwMeuHAeNzSa9rdP2dnmMNFgc=";
        hash = "sha256-mNQk8gaTASsmyJUpLLIbG7QRMjbdSN2LMCXx6j3gbCU=";
      };
    }
    .${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {

    install -D $src $out/lib/photonvision.jar

    makeWrapper ${temurin-jre-bin-11}/bin/java $out/bin/photonvision \
    makeWrapper ${temurin-jre-bin-17}/bin/java $out/bin/photonvision \
      --prefix LD_LIBRARY_PATH : ${
        lib.makeLibraryPath [
          stdenv.cc.cc
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
      } \
      --prefix PATH : ${
        lib.makeBinPath [
          temurin-jre-bin-11
          temurin-jre-bin-17
          bash.out
        ]
      } \