Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 69 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ lib, buildPythonPackage, fetchFromGitHub,
# build-system cmake, cython, ninja, scikit-build-core, setuptools-scm,
# dependencies typing-extensions,
# tests numpy, pytestCheckHook, writableTmpDirAsHomeHook,}:
buildPythonPackage (finalAttrs: { pname = "apache-tvm-ffi"; version = "0.1.10"; pyproject = true;
src = fetchFromGitHub { owner = "apache"; repo = "tvm-ffi"; tag = "v${finalAttrs.version}"; fetchSubmodules = true; hash = "sha256-qVO0SOs8eQh+Rl853XJuYIXY6Kis4HqATxhDBAhtxsI="; };
build-system = [ cmake cython ninja scikit-build-core setuptools-scm ]; dontUseCmakeConfigure = true;
dependencies = [ typing-extensions ];
optional-dependencies = { cpp = [ ninja ]; };
pythonImportsCheck = [ "tvm_ffi" ];
nativeCheckInputs = [ numpy pytestCheckHook writableTmpDirAsHomeHook ];
meta = { description = "Open ABI and FFI for Machine Learning Systems"; changelog = "https://github.com/apache/tvm-ffi/releases/tag/${finalAttrs.src.tag}"; homepage = "https://github.com/apache/tvm-ffi"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; };})