python3Packages.nanobind: 2.0.0 -> 2.1.0 (#337405)

This commit is contained in:
Gaétan Lepage
2024-08-27 23:34:02 +02:00
committed by GitHub
@@ -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
];