Loading pkgs/development/python-modules/jaxtyping/default.nix 0 → 100644 +64 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , hatchling , numpy , typeguard , typing-extensions , cloudpickle , equinox , jax , jaxlib , torch , pytestCheckHook }: let jaxtyping = buildPythonPackage rec { pname = "jaxtyping"; version = "0.2.20"; format = "pyproject"; src = fetchFromGitHub { owner = "google"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-q/KQGV7I7w5p7VP8C9BDUHfPsuCMf2v304qiH+XCzyU="; }; nativeBuildInputs = [ hatchling ]; propagatedBuildInputs = [ numpy typeguard typing-extensions ]; nativeCheckInputs = [ cloudpickle equinox jax jaxlib pytestCheckHook torch ]; doCheck = false; # Enable tests via passthru to avoid cyclic dependency with equinox. passthru.tests = { check = jaxtyping.overridePythonAttrs { doCheck = true; }; }; pythonImportsCheck = [ "jaxtyping" ]; meta = with lib; { description = "Type annotations and runtime checking for JAX arrays and PyTrees"; homepage = "https://github.com/google/jaxtyping"; license = licenses.mit; maintainers = with maintainers; [ GaetanLepage ]; }; }; in jaxtyping pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -5336,6 +5336,8 @@ self: super: with self; { jaxopt = callPackage ../development/python-modules/jaxopt { }; jaxtyping = callPackage ../development/python-modules/jaxtyping { }; jaydebeapi = callPackage ../development/python-modules/jaydebeapi { }; jc = callPackage ../development/python-modules/jc { }; Loading Loading
pkgs/development/python-modules/jaxtyping/default.nix 0 → 100644 +64 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , hatchling , numpy , typeguard , typing-extensions , cloudpickle , equinox , jax , jaxlib , torch , pytestCheckHook }: let jaxtyping = buildPythonPackage rec { pname = "jaxtyping"; version = "0.2.20"; format = "pyproject"; src = fetchFromGitHub { owner = "google"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-q/KQGV7I7w5p7VP8C9BDUHfPsuCMf2v304qiH+XCzyU="; }; nativeBuildInputs = [ hatchling ]; propagatedBuildInputs = [ numpy typeguard typing-extensions ]; nativeCheckInputs = [ cloudpickle equinox jax jaxlib pytestCheckHook torch ]; doCheck = false; # Enable tests via passthru to avoid cyclic dependency with equinox. passthru.tests = { check = jaxtyping.overridePythonAttrs { doCheck = true; }; }; pythonImportsCheck = [ "jaxtyping" ]; meta = with lib; { description = "Type annotations and runtime checking for JAX arrays and PyTrees"; homepage = "https://github.com/google/jaxtyping"; license = licenses.mit; maintainers = with maintainers; [ GaetanLepage ]; }; }; in jaxtyping
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -5336,6 +5336,8 @@ self: super: with self; { jaxopt = callPackage ../development/python-modules/jaxopt { }; jaxtyping = callPackage ../development/python-modules/jaxtyping { }; jaydebeapi = callPackage ../development/python-modules/jaydebeapi { }; jc = callPackage ../development/python-modules/jc { }; Loading