python3Packages.warp-nn: init at 0.3.0

This commit is contained in:
Gaetan Lepage
2026-07-05 01:00:22 +02:00
parent 0573927f96
commit 4e98de0f09
2 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
warp-lang,
# tests
hypothesis,
pytestCheckHook,
torch,
writableTmpDirAsHomeHook,
}:
buildPythonPackage (finalAttrs: {
pname = "warp-nn";
version = "0.3.0";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "NVIDIA";
repo = "warp-nn";
tag = "v${finalAttrs.version}";
hash = "sha256-dziGJhuuLHy8gEB39tvpLTHjPOwz6YVhsCB6KbIb7vI=";
};
build-system = [
setuptools
];
dependencies = [
warp-lang
];
pythonImportsCheck = [ "warp_nn" ];
nativeCheckInputs = [
hypothesis
pytestCheckHook
torch
writableTmpDirAsHomeHook
];
meta = {
description = "CUDA Graphable Neural Networks for NVIDIA Warp";
homepage = "https://github.com/NVIDIA/warp-nn";
changelog = "https://github.com/NVIDIA/warp-nn/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.tost;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
})

View File

@@ -21981,6 +21981,8 @@ self: super: with self; {
llvmPackages = pkgs.llvmPackages_21;
};
warp-nn = callPackage ../development/python-modules/warp-nn { };
warrant = callPackage ../development/python-modules/warrant { };
warrant-lite = callPackage ../development/python-modules/warrant-lite { };