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