Loading pkgs/development/python-modules/equinox/default.nix +6 −11 Original line number Diff line number Diff line { lib , buildPythonPackage , pythonOlder , fetchFromGitHub , fetchpatch , hatchling , jax , jaxlib Loading @@ -14,24 +14,18 @@ buildPythonPackage rec { pname = "equinox"; version = "0.11.2"; version = "0.11.3"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "patrick-kidger"; repo = "equinox"; rev = "refs/tags/v${version}"; hash = "sha256-qFTKiY/t2LCCWJBOSfaX0hYQInrpXgfhTc+J4iuyVbM="; hash = "sha256-la3gPfwQ2pxfZoEikn9uG+Pc3PKafgEgxZ8oVQEm9YM="; }; patches = [ (fetchpatch { # https://github.com/patrick-kidger/equinox/pull/601 name = "fix-wrong-PRNGKey-annotation"; url = "https://github.com/patrick-kidger/equinox/pull/601/commits/dce2fa1b7dcfd25d9573ce3186c5f6e8f79392bb.patch"; hash = "sha256-tlGV5xuNGLZTd1GlPwllybPz8tWHGHaCBdlsEuISm/0="; }) ]; nativeBuildInputs = [ hatchling ]; Loading @@ -53,6 +47,7 @@ buildPythonPackage rec { meta = with lib; { description = "A JAX library based around a simple idea: represent parameterised functions (such as neural networks) as PyTrees"; changelog = "https://github.com/patrick-kidger/equinox/releases/tag/v${version}"; homepage = "https://github.com/patrick-kidger/equinox"; license = licenses.asl20; maintainers = with maintainers; [ GaetanLepage ]; Loading Loading
pkgs/development/python-modules/equinox/default.nix +6 −11 Original line number Diff line number Diff line { lib , buildPythonPackage , pythonOlder , fetchFromGitHub , fetchpatch , hatchling , jax , jaxlib Loading @@ -14,24 +14,18 @@ buildPythonPackage rec { pname = "equinox"; version = "0.11.2"; version = "0.11.3"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "patrick-kidger"; repo = "equinox"; rev = "refs/tags/v${version}"; hash = "sha256-qFTKiY/t2LCCWJBOSfaX0hYQInrpXgfhTc+J4iuyVbM="; hash = "sha256-la3gPfwQ2pxfZoEikn9uG+Pc3PKafgEgxZ8oVQEm9YM="; }; patches = [ (fetchpatch { # https://github.com/patrick-kidger/equinox/pull/601 name = "fix-wrong-PRNGKey-annotation"; url = "https://github.com/patrick-kidger/equinox/pull/601/commits/dce2fa1b7dcfd25d9573ce3186c5f6e8f79392bb.patch"; hash = "sha256-tlGV5xuNGLZTd1GlPwllybPz8tWHGHaCBdlsEuISm/0="; }) ]; nativeBuildInputs = [ hatchling ]; Loading @@ -53,6 +47,7 @@ buildPythonPackage rec { meta = with lib; { description = "A JAX library based around a simple idea: represent parameterised functions (such as neural networks) as PyTrees"; changelog = "https://github.com/patrick-kidger/equinox/releases/tag/v${version}"; homepage = "https://github.com/patrick-kidger/equinox"; license = licenses.asl20; maintainers = with maintainers; [ GaetanLepage ]; Loading