4 , cudaSupport ? config.cudaSupport
17 buildPythonPackage rec {
19 version = "7.8.1.post1";
20 format = "setuptools";
22 disabled = pythonOlder "3.7";
24 src = fetchFromGitHub {
27 rev = "refs/tags/v${version}";
28 hash = "sha256-epwnExmyCWmwaOz+mJnAl1peEeHLBdQGC62BlLfSTQQ=";
31 propagatedBuildInputs = [
37 ] ++ lib.optionals cudaSupport [
47 "tests/chainer_tests/utils_tests"
51 # cf. https://github.com/chainer/chainer/issues/8621
52 export CHAINER_WARN_VERSION_MISMATCH=0
54 # ignore pytest warnings not listed
64 pythonImportsCheck = [
69 description = "A flexible framework of neural networks for deep learning";
70 homepage = "https://chainer.org/";
71 license = licenses.mit;
72 maintainers = with maintainers; [ hyphon81 ];