21 self = buildPythonPackage rec {
26 disabled = pythonOlder "3.9";
28 src = fetchFromGitHub {
31 rev = "refs/tags/v${version}";
32 hash = "sha256-xDFrgPecUIfCACg/xkMQ8G1+6hNiUUDg9eCZKNpNfzs=";
40 propagatedBuildInputs = [
63 # Enable tests via passthru to avoid cyclic dependency with equinox.
65 check = self.overridePythonAttrs {
66 # We disable tests because they complain about the version of typeguard being too new.
68 catchConflicts = false;
72 pythonImportsCheck = [ "jaxtyping" ];
75 description = "Type annotations and runtime checking for JAX arrays and PyTrees";
76 homepage = "https://github.com/google/jaxtyping";
77 license = licenses.mit;
78 maintainers = with maintainers; [ GaetanLepage ];