python3Packages.nanobind: 2.0.0 -> 2.1.0

This commit is contained in:
Philipp Arras 2024-08-12 13:04:17 +02:00
parent 3745928ba9
commit 3f4ecf8adc

View File

@ -1,31 +1,37 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
pythonOlder,
# build-system
cmake,
eigen,
ninja,
scikit-build,
pathspec,
scikit-build-core,
# dependencies
eigen,
# tests
pytestCheckHook,
numpy,
scipy,
torch,
tensorflow-bin,
jax,
jaxlib,
tensorflow,
setuptools,
}:
buildPythonPackage rec {
pname = "nanobind";
version = "2.0.0";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "wjakob";
repo = "nanobind";
rev = "refs/tags/v${version}";
hash = "sha256-yDFrhSIWywWw7ri5aHRPigi9ujDeazpJa4AVrkLx5BI=";
hash = "sha256-AO/EHx2TlXidalhPb+xuUchaek4ki7fDExu2foBgUp0=";
fetchSubmodules = true;
};
@ -34,11 +40,11 @@ buildPythonPackage rec {
build-system = [
cmake
ninja
scikit-build
setuptools
pathspec
scikit-build-core
];
buildInputs = [ eigen ];
dependencies = [ eigen ];
dontUseCmakeBuildDir = true;
preCheck = ''
@ -51,7 +57,7 @@ buildPythonPackage rec {
numpy
scipy
torch
tensorflow
tensorflow-bin
jax
jaxlib
];