mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-17 12:50:04 +00:00
python3Packages.rsl-rl-lib: init at 5.4.2
Co-authored-by: Gaétan Lepage <gaetan@glepage.com>
This commit is contained in:
77
pkgs/development/python-modules/rsl-rl-lib/default.nix
Normal file
77
pkgs/development/python-modules/rsl-rl-lib/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user