Commit 869ad3ec authored by Dennis's avatar Dennis
Browse files

pettingzoo: fix dependencies

parent f2d65212
Loading
Loading
Loading
Loading
+10 −19
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  pythonOlder,
  chess,
  fetchFromGitHub,
  setuptools,
  wheel,
  gymnasium,
  numpy,
  chess,
  pillow,
  pre-commit,
  pybox2d,
  pygame,
  pymunk,
  rlcard,
  scipy,
  pre-commit,
  pynput,
  pytest,
  pytest-cov-stub,
  pytest-markdown-docs,
  pytest-xdist,
  pytestCheckHook,
  pythonOlder,
  rlcard,
  scipy,
  setuptools,
  shimmy,
  stdenv,
  wheel,
}:

buildPythonPackage rec {
@@ -49,17 +50,7 @@ buildPythonPackage rec {
  ];

  optional-dependencies = {
    all = [
      chess
      # multi-agent-ale-py
      pillow
      pybox2d
      pygame
      pymunk
      rlcard
      scipy
      # shimmy
    ];
    all = lib.flatten (lib.attrValues (lib.filterAttrs (n: v: n != "all") optional-dependencies));
    atari = [
      # multi-agent-ale-py
      pygame
@@ -72,7 +63,7 @@ buildPythonPackage rec {
      chess
      pygame
      rlcard
      # shimmy
      shimmy
    ];
    mpe = [ pygame ];
    other = [ pillow ];