icesl: 2.1.10 -> 2.4.1 (#142739)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by

Merlin Göttlinger
Sandro
and committed by
GitHub
cd2b95a4 510c6dcb

+13 -8
+13 -8
pkgs/applications/misc/icesl/default.nix
··· 1 - { stdenv, lib, fetchzip, freeglut, libXmu, libXi, libX11, libICE, libGLU, libGL, libSM, libXext, dialog, makeWrapper }: 1 + { stdenv, lib, fetchzip, freeglut, libXmu, libXi, libX11, libICE, libGLU, libGL, libSM 2 + , libXext, glibc, lua, luabind, glfw, libgccjit, dialog, makeWrapper 3 + }: 2 4 let 3 - lpath = lib.makeLibraryPath [ libXmu libXi libX11 freeglut libICE libGLU libGL libSM libXext ]; 5 + lpath = lib.makeLibraryPath [ libXmu libXi libX11 freeglut libICE libGLU libGL libSM libXext glibc lua glfw luabind libgccjit ]; 4 6 in 5 7 stdenv.mkDerivation rec { 6 8 pname = "iceSL"; 7 - version = "2.1.10"; 9 + version = "2.4.1"; 8 10 9 11 src = if stdenv.hostPlatform.system == "x86_64-linux" then fetchzip { 10 - url = "https://gforge.inria.fr/frs/download.php/file/37268/icesl${version}-amd64.zip"; 11 - sha256 = "0dv3mq6wy46xk9blzzmgbdxpsjdaxid3zadfrysxlhmgl7zb2cn2"; 12 + url = "https://icesl.loria.fr/assets/other/download.php?build=${version}&os=amd64"; 13 + extension = "zip"; 14 + sha256 = "0rrnkqkhlsjclif5cjbf17qz64vs95ja49xarxjvq54wb4jhbs4l"; 12 15 } else if stdenv.hostPlatform.system == "i686-linux" then fetchzip { 13 - url = "https://gforge.inria.fr/frs/download.php/file/37267/icesl${version}-i386.zip"; 14 - sha256 = "0sl54fsb2gz6dy0bwdscpdq1ab6ph5b7zald3bwzgkqsvna7p1jr"; 16 + url = "https://icesl.loria.fr/assets/other/download.php?build=${version}&os=i386"; 17 + extension = "zip"; 18 + sha256 = "0n2yyxzw0arkc70f0qli4n5chdlh9vc7aqizk4v7825mcglhwlyh"; 15 19 } else throw "Unsupported architecture"; 16 20 17 21 nativeBuildInputs = [ makeWrapper ]; 18 22 installPhase = '' 19 23 cp -r ./ $out 24 + rm $out/bin/*.so 20 25 mkdir $out/oldbin 21 26 mv $out/bin/IceSL-slicer $out/oldbin/IceSL-slicer 22 27 runHook postInstall ··· 31 36 32 37 meta = with lib; { 33 38 description = "GPU-accelerated procedural modeler and slicer for 3D printing"; 34 - homepage = "http://shapeforge.loria.fr/icesl/index.html"; 39 + homepage = "https://icesl.loria.fr/"; 35 40 license = licenses.inria-icesl; 36 41 platforms = [ "i686-linux" "x86_64-linux" ]; 37 42 maintainers = with maintainers; [ mgttlinger ];