lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.11-beta 34 lines 981 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake, vtk_9, libX11, libGL, Cocoa, OpenGL }: 2 3stdenv.mkDerivation rec { 4 pname = "f3d"; 5 version = "2.2.1"; 6 7 src = fetchFromGitHub { 8 owner = "f3d-app"; 9 repo = "f3d"; 10 rev = "refs/tags/v${version}"; 11 hash = "sha256-3Pg8uvrUGPKPmsn24q5HPMg9dgvukAXBgSVTW0NiCME="; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 buildInputs = [ vtk_9 ] ++ lib.optionals stdenv.isDarwin [ Cocoa OpenGL ]; 17 18 # conflict between VTK and Nixpkgs; 19 # see https://github.com/NixOS/nixpkgs/issues/89167 20 cmakeFlags = [ 21 "-DCMAKE_INSTALL_LIBDIR=lib" 22 "-DCMAKE_INSTALL_INCLUDEDIR=include" 23 "-DCMAKE_INSTALL_BINDIR=bin" 24 ]; 25 26 meta = with lib; { 27 description = "Fast and minimalist 3D viewer using VTK"; 28 homepage = "https://f3d-app.github.io/f3d"; 29 changelog = "https://github.com/f3d-app/f3d/releases/tag/v${version}"; 30 license = licenses.bsd3; 31 maintainers = with maintainers; [ bcdarwin ]; 32 platforms = with platforms; unix; 33 }; 34}