My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/tinyobjloader-py/default.nix

21 lines
545 B

{ lib, buildPythonPackage, pybind11, tinyobjloader }:
buildPythonPackage rec {
pname = "tinyobjloader-py";
inherit (tinyobjloader) version src;
# Build needs headers from ${src}, setting sourceRoot or fetching from pypi won't work.
preConfigure = ''
cd python
'';
buildInputs = [ pybind11 ];
# No tests are included upstream
doCheck = false;
pythonImportsCheck = [ "tinyobjloader" ];
meta = with lib; tinyobjloader.meta // {
description = "Python wrapper for the C++ wavefront .obj loader tinyobjloader";
};
}