1 { lib, buildPythonPackage, pybind11, tinyobjloader }:
3 buildPythonPackage rec {
4 pname = "tinyobjloader-py";
6 inherit (tinyobjloader) version src;
8 # Build needs headers from ${src}, setting sourceRoot or fetching from pypi won't work.
13 buildInputs = [ pybind11 ];
15 # No tests are included upstream
17 pythonImportsCheck = [ "tinyobjloader" ];
19 meta = with lib; tinyobjloader.meta // {
20 description = "Python wrapper for the C++ wavefront .obj loader tinyobjloader";