uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue