mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-02 21:54:45 +00:00
python3Packages.warp-nn: init at 0.3.0
This commit is contained in:
56
pkgs/development/python-modules/warp-nn/default.nix
Normal file
56
pkgs/development/python-modules/warp-nn/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user