Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.8 kB · 90 lines
Nix
at flake-libs
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091{ lib, buildPythonPackage, fetchFromGitHub,
# build-system absl-py, mujoco, pyparsing, setuptools,
# dependencies dm-env, dm-tree, fsspec, glfw, h5py, lxml, mock, numpy, pillow, protobuf, pyopengl, requests, scipy, tqdm, etils,}:
buildPythonPackage rec { pname = "dm-control"; version = "1.0.30"; pyproject = true;
src = fetchFromGitHub { owner = "google-deepmind"; repo = "dm_control"; tag = version; hash = "sha256-b2mFAZDDUaK3heDc2uPP5u39P5TDzkOLYePoRFQYLR8="; };
build-system = [ absl-py mujoco pyparsing setuptools ];
pythonRemoveDeps = [ # Unpackaged "labmaze" ];
dependencies = [ absl-py dm-env dm-tree fsspec glfw h5py lxml mock mujoco numpy pillow protobuf pyopengl pyparsing requests scipy setuptools tqdm ] ++ etils.optional-dependencies.epath;
pythonImportsCheck = [ "dm_control" ];
# The installed library clashes with the `dm_control` directory remaining in the source path. # Usually, we get around this by `rm -rf` the python source files to ensure that the installed package is used. # Here, we cannot do that as it would also remove the tests which are also in the `dm_control` directory. # See https://github.com/google-deepmind/dm_control/issues/6 doCheck = false;
meta = { changelog = "https://github.com/google-deepmind/dm_control/releases/tag/${version}"; description = "Google DeepMind's software stack for physics-based simulation and Reinforcement Learning environments, using MuJoCo"; homepage = "https://github.com/google-deepmind/dm_control"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; };}