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