libigl: init at 2.5.0

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

+31
+31
pkgs/by-name/li/libigl/package.nix
···
··· 1 + { 2 + lib, 3 + stdenvNoCC, 4 + fetchFromGitHub, 5 + }: 6 + 7 + stdenvNoCC.mkDerivation (finalAttrs: { 8 + pname = "libigl"; 9 + version = "2.5.0"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "libigl"; 13 + repo = "libigl"; 14 + rev = "v${finalAttrs.version}"; 15 + hash = "sha256-OpjkQGRiuc7kNlwgCeM4dcotTb5J+6LUn4IOe9bFbW4="; 16 + }; 17 + 18 + # We could also properly use CMake, but we would have to heavily patch it 19 + # to avoid configure-time downloads of many things. 20 + installPhase = '' 21 + mkdir -p $out/include 22 + cp -r include/igl $out/include 23 + ''; 24 + 25 + meta = with lib; { 26 + description = "Simple C++ geometry processing library"; 27 + homepage = "https://github.com/libigl/libigl"; 28 + license = licenses.mpl20; 29 + maintainers = with maintainers; [ nim65s ]; 30 + }; 31 + })