21 self = buildPythonPackage rec {
26 src = fetchFromGitHub {
29 rev = "refs/tags/v${version}";
30 hash = "sha256-TXhHh6Nka9TOnfFPaNyHmLdTkhzyFEY0mLSfoDf9KQc=";
33 build-system = [ hatchling ];
35 pythonImportsCheck = [ "jaxtyping" ];
50 # Enable tests via passthru to avoid cyclic dependency with equinox.
52 check = self.overridePythonAttrs {
53 # We disable tests because they complain about the version of typeguard being too new.
55 catchConflicts = false;
60 description = "Type annotations and runtime checking for JAX arrays and PyTrees";
61 homepage = "https://github.com/google/jaxtyping";
62 changelog = "https://github.com/patrick-kidger/jaxtyping/releases/tag/v${version}";
63 license = lib.licenses.mit;
64 maintainers = with lib.maintainers; [ GaetanLepage ];