mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
pythonPackages.tinyobjloader-py: init at 1.0.6
This commit is contained in:
parent
1034616282
commit
6f65e5c1ca
21
pkgs/development/python-modules/tinyobjloader-py/default.nix
Normal file
21
pkgs/development/python-modules/tinyobjloader-py/default.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ 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";
|
||||||
|
};
|
||||||
|
}
|
@ -7276,6 +7276,8 @@ in {
|
|||||||
|
|
||||||
tinydb = callPackage ../development/python-modules/tinydb { };
|
tinydb = callPackage ../development/python-modules/tinydb { };
|
||||||
|
|
||||||
|
tinyobjloader-py = callPackage ../development/python-modules/tinyobjloader-py { };
|
||||||
|
|
||||||
tiros = callPackage ../development/python-modules/tiros { };
|
tiros = callPackage ../development/python-modules/tiros { };
|
||||||
|
|
||||||
tissue = callPackage ../development/python-modules/tissue { };
|
tissue = callPackage ../development/python-modules/tissue { };
|
||||||
|
Loading…
Reference in New Issue
Block a user