python3Packages.rsl-rl-lib: init at 5.4.2

Co-authored-by: Gaétan Lepage <gaetan@glepage.com>
This commit is contained in:
Guilhem Saurel
2026-09-14 20:54:11 +02:00
parent d4fbf11754
commit 78dd42f034
2 changed files with 79 additions and 0 deletions

View File

@@ -0,0 +1,77 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
gitpython,
numpy,
onnx,
onnxscript,
tensorboard,
tensordict,
torch,
torchvision,
# optional-dependencies
wandb,
# tests
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "rsl-rl-lib";
version = "5.4.2";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "leggedrobotics";
repo = "rsl_rl";
tag = "v${finalAttrs.version}";
hash = "sha256-m9M9yWCKs5vLHb7k5A7AFfHko980HDeF3qr1x7s1KGE=";
};
build-system = [
setuptools
];
dependencies = [
gitpython
numpy
onnx
onnxscript
tensorboard
tensordict
torch
torchvision
];
optional-dependencies = {
# https://github.com/neptune-ai/neptune-client is archived
# neptune = [
# neptune
# ];
wandb = [
wandb
];
};
pythonImportsCheck = [ "rsl_rl" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
description = "Fast and simple implementation of learning algorithms for robotics";
homepage = "https://github.com/leggedrobotics/rsl_rl";
changelog = "https://github.com/leggedrobotics/rsl_rl/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ nim65s ];
};
})

View File

@@ -18344,6 +18344,8 @@ self: super: with self; {
rsa = callPackage ../development/python-modules/rsa { };
rsl-rl-lib = callPackage ../development/python-modules/rsl-rl-lib { };
rsskey = callPackage ../development/python-modules/rsskey { };
rst2ansi = callPackage ../development/python-modules/rst2ansi { };