1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

python312Packages.optax: 0.2.3 -> 0.2.4

Diff: https://github.com/deepmind/optax/compare/refs/tags/v0.2.3...v0.2.4

Changelog: https://github.com/deepmind/optax/releases/tag/v0.2.4
This commit is contained in:
Gaetan Lepage 2024-11-13 12:54:08 +01:00
parent 8fbedfeaa8
commit 2a5f1d4e57

View file

@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
# build-system
@ -15,22 +14,20 @@
numpy,
etils,
# checks
# tests
callPackage,
}:
buildPythonPackage rec {
pname = "optax";
version = "0.2.3";
version = "0.2.4";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "deepmind";
repo = "optax";
rev = "refs/tags/v${version}";
hash = "sha256-D1qKei3IjDP9fC62hf6fNtvHlnn09O/dKuzTBdLwW64=";
hash = "sha256-7UPWeo/Q9/tjewaM7HN8/e7U1U1QzAliuk95+9GOi0E=";
};
outputs = [
@ -63,11 +60,11 @@ buildPythonPackage rec {
pytest = callPackage ./tests.nix { };
};
meta = with lib; {
meta = {
description = "Gradient processing and optimization library for JAX";
homepage = "https://github.com/deepmind/optax";
changelog = "https://github.com/deepmind/optax/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ ndl ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ndl ];
};
}