diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2023-05-15 09:04:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-15 09:04:42 +0200 |
commit | e88262ff29920fd10aae9b3e01a71d33792f3c0c (patch) | |
tree | 67576a38e573216cbf8daec116455d75d93df7e5 | |
parent | feb7fcde4b80fa4e90ba002f8c45677c5d11b059 (diff) | |
parent | b4c19e85483dea24e59c0f05f57b15fa59ee70ad (diff) |
Merge pull request #231957 from bcdarwin/unbreak-update-python3-skrl
python310Packages.skrl: 0.10.1 -> 0.10.2; unbreak
-rw-r--r-- | pkgs/development/python-modules/skrl/default.nix | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/skrl/default.nix b/pkgs/development/python-modules/skrl/default.nix index 86463a43cfa56..266fb65bf2138 100644 --- a/pkgs/development/python-modules/skrl/default.nix +++ b/pkgs/development/python-modules/skrl/default.nix @@ -1,18 +1,22 @@ { lib , buildPythonPackage , fetchFromGitHub +, fetchpatch , pythonOlder , pytestCheckHook , gym +, gymnasium , torch , tensorboard , tqdm +, wandb , packaging }: buildPythonPackage rec { pname = "skrl"; - version = "0.10.1"; + version = "0.10.2"; + format = "setuptools"; disabled = pythonOlder "3.6"; @@ -20,14 +24,25 @@ buildPythonPackage rec { owner = "Toni-SM"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-/fFKotDibc+wcoGteloh5OEKbQdN/W1NdF+mWf8mSNw="; + hash = "sha256-OY5+bUPg+G1eKFMvHlXSHwc2WWHTpyoyCKjY3MvlLyM="; }; + patches = [ + # remove after next release: + (fetchpatch { + name = "fix-python_requires-specification"; + url = "https://github.com/Toni-SM/skrl/pull/62/commits/9b554adfe2da6cd97cccbbcd418a349cc8f1de80.patch"; + hash = "sha256-GeASMU1Pgy8U1zaIAVroBDjYaY+n93XP5uFyP4U9lok="; + }) + ]; + propagatedBuildInputs = [ gym + gymnasium torch tensorboard tqdm + wandb packaging ]; |