mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
python.pkgs.baselines: init at 0.1.5 (#58452)
This commit is contained in:
parent
e7a084bdba
commit
f2569b9116
59
pkgs/development/python-modules/baselines/default.nix
Normal file
59
pkgs/development/python-modules/baselines/default.nix
Normal file
@ -0,0 +1,59 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, gym
|
||||
, scipy
|
||||
, tqdm
|
||||
, joblib
|
||||
, dill
|
||||
, progressbar2
|
||||
, cloudpickle
|
||||
, click
|
||||
, pyzmq
|
||||
, tensorflow
|
||||
, mpi4py
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "baselines";
|
||||
version = "0.1.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0n1mxkcg82gzhkb4j5zzwm335r3rc1sblknqs4x6nkrrh42d65cm";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# already fixed upstream
|
||||
./fix-dep-names.patch
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
gym
|
||||
scipy
|
||||
tqdm
|
||||
joblib
|
||||
pyzmq
|
||||
dill
|
||||
progressbar2
|
||||
mpi4py
|
||||
cloudpickle
|
||||
tensorflow
|
||||
click
|
||||
];
|
||||
|
||||
# fails to create a daemon, probably because of sandboxing
|
||||
doCheck = false;
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "High-quality implementations of reinforcement learning algorithms";
|
||||
homepage = https://github.com/openai/baselines;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ timokau ];
|
||||
};
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index bf8badc..570be20 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -10,11 +10,11 @@ setup(name='baselines',
|
||||
packages=[package for package in find_packages()
|
||||
if package.startswith('baselines')],
|
||||
install_requires=[
|
||||
- 'gym[mujoco,atari,classic_control,robotics]',
|
||||
+ 'gym',
|
||||
'scipy',
|
||||
'tqdm',
|
||||
'joblib',
|
||||
- 'zmq',
|
||||
+ 'pyzmq',
|
||||
'dill',
|
||||
'progressbar2',
|
||||
'mpi4py',
|
@ -274,6 +274,8 @@ in {
|
||||
bap = pkgs.ocamlPackages.bap;
|
||||
};
|
||||
|
||||
baselines = callPackage ../development/python-modules/baselines { };
|
||||
|
||||
bash_kernel = callPackage ../development/python-modules/bash_kernel { };
|
||||
|
||||
bayespy = callPackage ../development/python-modules/bayespy { };
|
||||
|
Loading…
Reference in New Issue
Block a user