photonvision: 2024.3.1 -> 2025.2.1 (#389159)

updated photonvision to version 2025.2.1

authored by Sepandar and committed by GitHub 22363a23 f6f5953c

+6 -6
+6 -6
pkgs/by-name/ph/photonvision/package.nix
··· 3 3 stdenv, 4 4 fetchurl, 5 5 makeWrapper, 6 - temurin-jre-bin-11, 6 + temurin-jre-bin-17, 7 7 bash, 8 8 suitesparse, 9 9 nixosTests, ··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "photonvision"; 14 - version = "2024.3.1"; 14 + version = "2025.2.1"; 15 15 16 16 src = 17 17 { 18 18 "x86_64-linux" = fetchurl { 19 19 url = "https://github.com/PhotonVision/photonvision/releases/download/v${version}/photonvision-v${version}-linuxx64.jar"; 20 - hash = "sha256-t9drkGFA3IurZqWAkzEaONVJkp5JHMEFBBW50r+SD68="; 20 + hash = "sha256-yEb6GCt29DjZNDsIqDvF/AiCw3QVMxUFKQM22OlMl7Q="; 21 21 }; 22 22 "aarch64-linux" = fetchurl { 23 23 url = "https://github.com/PhotonVision/photonvision/releases/download/v${version}/photonvision-v${version}-linuxarm64.jar"; 24 - hash = "sha256-ninCVxse0x6lBA2NL3kwMeuHAeNzSa9rdP2dnmMNFgc="; 24 + hash = "sha256-mNQk8gaTASsmyJUpLLIbG7QRMjbdSN2LMCXx6j3gbCU="; 25 25 }; 26 26 } 27 27 .${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); ··· 35 35 36 36 install -D $src $out/lib/photonvision.jar 37 37 38 - makeWrapper ${temurin-jre-bin-11}/bin/java $out/bin/photonvision \ 38 + makeWrapper ${temurin-jre-bin-17}/bin/java $out/bin/photonvision \ 39 39 --prefix LD_LIBRARY_PATH : ${ 40 40 lib.makeLibraryPath [ 41 41 stdenv.cc.cc ··· 44 44 } \ 45 45 --prefix PATH : ${ 46 46 lib.makeBinPath [ 47 - temurin-jre-bin-11 47 + temurin-jre-bin-17 48 48 bash.out 49 49 ] 50 50 } \