python310Packages.optax: add changelog to meta
- update meta - add format - disable on older Python releases
This commit is contained in:
parent
0f56f1ef54
commit
68caf32ba7
1 changed files with 11 additions and 4 deletions
|
@ -1,16 +1,20 @@
|
||||||
{ absl-py
|
{ lib
|
||||||
|
, absl-py
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, chex
|
, chex
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, jaxlib
|
, jaxlib
|
||||||
, lib
|
|
||||||
, numpy
|
, numpy
|
||||||
, callPackage
|
, callPackage
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "optax";
|
pname = "optax";
|
||||||
version = "0.1.4";
|
version = "0.1.4";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "deepmind";
|
owner = "deepmind";
|
||||||
|
@ -24,7 +28,9 @@ buildPythonPackage rec {
|
||||||
"testsout"
|
"testsout"
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ jaxlib ];
|
buildInputs = [
|
||||||
|
jaxlib
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
absl-py
|
absl-py
|
||||||
|
@ -49,8 +55,9 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Optax is a 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}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ ndl ];
|
maintainers = with maintainers; [ ndl ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue