24 buildPythonPackage rec {
29 src = fetchFromGitHub {
33 hash = "sha256-umRq+FZwyx1hz839ZibRTEFKjbBugrfUJuE8PagjqI4=";
36 build-system = [ setuptools ];
47 pythonImportsCheck = [ "chex" ];
55 # AttributeError: module 'unittest' has no attribute 'makeSuite'
56 # https://github.com/google-deepmind/chex/issues/371
57 # TODO: re-enable at next release
58 doCheck = pythonOlder "3.13";
61 description = "Library of utilities for helping to write reliable JAX code";
62 homepage = "https://github.com/deepmind/chex";
63 changelog = "https://github.com/google-deepmind/chex/releases/tag/v${version}";
64 license = lib.licenses.asl20;
65 maintainers = with lib.maintainers; [ ndl ];