Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, fetchFromGitHub, fetchpatch, buildPythonPackage, embree, cython, numpy, setuptools, pytestCheckHook,}:
buildPythonPackage rec { pname = "embreex"; version = "4.4.0.post1"; pyproject = true;
src = fetchFromGitHub { owner = "trimesh"; repo = "embreex"; tag = version; hash = "sha256-9dq09EdJN5XKy1BdNSGk0ofDfmyqt50mo5i6mtwQtrE="; };
build-system = [ setuptools numpy cython ];
dependencies = [ numpy ];
buildInputs = [ embree ];
pythonImportsCheck = [ "embreex" "embreex.mesh_construction" "embreex.rtcore" "embreex.rtcore_scene" ];
preCheck = '' # conflicts with $out rm -rf embreex/ '';
nativeCheckInputs = [ pytestCheckHook ];
meta = { description = "Maintained PyEmbree fork, bindings for Intel's Embree ray engine"; homepage = "https://github.com/trimesh/embreex"; changelog = "https://github.com/trimesh/embreex/releases/tag/${src.tag}"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ pbsds ]; inherit (embree.meta) platforms; };}