mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
python3Packages.nanobind: 2.0.0 -> 2.1.0
This commit is contained in:
parent
3745928ba9
commit
3f4ecf8adc
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user