nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 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.5"; 10 11 src = fetchFromGitHub { 12 owner = "AcademySoftwareFoundation"; 13 repo = "imath"; 14 rev = "v${version}"; 15 sha256 = "sha256-pniIhpq2eXAZemq8LavXXv6+tGrBkqZ09Kjvi4aZdu8="; 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}