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