mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 05:44:13 +00:00
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:
parent
178b87c2e6
commit
03cfe274f8
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user