at 24.05-pre 27 lines 668 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, cmake 5}: 6 7stdenv.mkDerivation rec { 8 pname = "imath"; 9 version = "3.1.9"; 10 11 src = fetchFromGitHub { 12 owner = "AcademySoftwareFoundation"; 13 repo = "imath"; 14 rev = "v${version}"; 15 sha256 = "sha256-NcGiYz7jbxLyVd80lOIyN3zXcC4mHh+dcFEY4Kqw9BY="; 16 }; 17 18 nativeBuildInputs = [ cmake ]; 19 20 meta = with lib; { 21 description = "Imath is a C++ and python library of 2D and 3D vector, matrix, and math operations for computer graphics"; 22 homepage = "https://github.com/AcademySoftwareFoundation/Imath"; 23 license = licenses.bsd3; 24 maintainers = with maintainers; [ paperdigits ]; 25 platforms = platforms.all; 26 }; 27}