python311Packages.nanobind: 1.9.2 -> 2.0.0

Diff: https://github.com/wjakob/nanobind/compare/v1.9.2...v2.0.0

Changelog: https://github.com/wjakob/nanobind/blob/v2.0.0/docs/changelog.rst
This commit is contained in:
Gaetan Lepage 2024-05-24 00:20:32 +02:00
parent 7ba41881aa
commit c1cc67a913

@ -18,25 +18,26 @@
}:
buildPythonPackage rec {
pname = "nanobind";
version = "1.9.2";
version = "2.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "wjakob";
repo = pname;
rev = "v${version}";
hash = "sha256-6swDqw7sEYOawQbNWD8VfSQoi+9wjhOhOOwPPkahDas=";
repo = "nanobind";
rev = "refs/tags/v${version}";
hash = "sha256-yDFrhSIWywWw7ri5aHRPigi9ujDeazpJa4AVrkLx5BI=";
fetchSubmodules = true;
};
disabled = pythonOlder "3.8";
nativeBuildInputs = [
build-system = [
cmake
ninja
scikit-build
setuptools
];
buildInputs = [ eigen ];
dontUseCmakeBuildDir = true;
@ -51,13 +52,11 @@ buildPythonPackage rec {
scipy
torch
tensorflow
# Uncomment at next release (1.9.3)
# See https://github.com/wjakob/nanobind/issues/578
# jax
# jaxlib
jax
jaxlib
];
meta = with lib; {
meta = {
homepage = "https://github.com/wjakob/nanobind";
changelog = "https://github.com/wjakob/nanobind/blob/${src.rev}/docs/changelog.rst";
description = "Tiny and efficient C++/Python bindings";
@ -68,7 +67,7 @@ buildPythonPackage rec {
more efficient: bindings compile in a shorter amount of time, produce
smaller binaries, and have better runtime performance.
'';
license = licenses.bsd3;
maintainers = with maintainers; [ parras ];
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ parras ];
};
}