Unverified Commit a2d3b142 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python312Packages.optax: 0.2.3 -> 0.2.4 (#355655)

parents 83821eed 2a5f1d4e
Loading
Loading
Loading
Loading
+6 −9
Original line number Diff line number Diff line
{
  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 ];
  };
}