python3Packages.waymax: init at 0-unstable-2025-03-25

This commit is contained in:
Samuel Ainsworth
2025-03-25 13:56:56 -04:00
parent 5e9d366189
commit 1fbbad1fa6
2 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,70 @@
{
absl-py,
buildPythonPackage,
chex,
dm-env,
dm-tree,
fetchFromGitHub,
flax,
immutabledict,
jax,
lib,
matplotlib,
mediapy,
numpy,
pillow,
pytestCheckHook,
setuptools,
tensorflow,
tqdm,
}:
buildPythonPackage rec {
pname = "waymax";
version = "0-unstable-2025-03-25";
pyproject = true;
src = fetchFromGitHub {
owner = "waymo-research";
repo = "waymax";
rev = "720f9214a9bf79b3da7926497f0cd0468ca3e630";
hash = "sha256-B1Rp5MATbEelp6G6K2wwV83QpINhOHgvAxb3mBN52Eg=";
};
build-system = [ setuptools ];
dependencies = [
absl-py
chex
dm-env
dm-tree
flax
immutabledict
jax
matplotlib
mediapy
numpy
pillow
tensorflow
tqdm
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "waymax" ];
disabledTestPaths = [
# Disable visualization tests that require a GUI
# waymax/visualization/viz_test.py Fatal Python error: Aborted
"waymax/visualization/viz_test.py"
];
meta = {
description = "A JAX-based simulator for autonomous driving research";
homepage = "https://github.com/waymo-research/waymax";
changelog = "https://github.com/waymo-research/waymax/blob/main/CHANGELOG.md";
maintainers = with lib.maintainers; [ samuela ];
};
}

View File

@@ -18905,6 +18905,8 @@ self: super: with self; {
waybackpy = callPackage ../development/python-modules/waybackpy { };
waymax = callPackage ../development/python-modules/waymax { };
wazeroutecalculator = callPackage ../development/python-modules/wazeroutecalculator { };
wcag-contrast-ratio = callPackage ../development/python-modules/wcag-contrast-ratio { };