python3Packages.jaxopt: use finalAttrs
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
scikit-learn,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "jaxopt";
|
||||
version = "0.8.5";
|
||||
pyproject = true;
|
||||
@@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "jaxopt";
|
||||
tag = "jaxopt-v${version}";
|
||||
tag = "jaxopt-v${finalAttrs.version}";
|
||||
hash = "sha256-vPXrs8J81O+27w9P/fEFr7w4xClKb8T0IASD+iNhztQ=";
|
||||
};
|
||||
|
||||
@@ -83,8 +83,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
homepage = "https://jaxopt.github.io";
|
||||
description = "Hardware accelerated, batchable and differentiable optimizers in JAX";
|
||||
changelog = "https://github.com/google/jaxopt/releases/tag/jaxopt-v${version}";
|
||||
changelog = "https://github.com/google/jaxopt/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user