python311Packages.optax: 0.2.1 -> 0.2.2

Changelog: https://github.com/google-deepmind/optax/releases/tag/v0.2.2
This commit is contained in:
Gaetan Lepage 2024-04-01 14:09:44 +02:00
parent 178b87c2e6
commit 03cfe274f8
1 changed files with 10 additions and 5 deletions

View File

@ -1,6 +1,7 @@
{ lib
, absl-py
, buildPythonPackage
, flit-core
, chex
, fetchFromGitHub
, jaxlib
@ -11,16 +12,16 @@
buildPythonPackage rec {
pname = "optax";
version = "0.2.1";
format = "setuptools";
version = "0.2.2";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "deepmind";
repo = pname;
repo = "optax";
rev = "refs/tags/v${version}";
hash = "sha256-vimsVZV5Z11euLxsu998pMQZ0hG3xl96D3h9iONtl/E=";
hash = "sha256-sBiKUuQR89mttc9Njrh1aeUJOYdlcF7Nlj3/+Y7OMb4=";
};
outputs = [
@ -28,6 +29,10 @@ buildPythonPackage rec {
"testsout"
];
nativeBuildInputs = [
flit-core
];
buildInputs = [
jaxlib
];