22 buildPythonPackage rec {
27 disabled = pythonOlder "3.8";
29 src = fetchFromGitHub {
32 rev = "refs/tags/v${version}";
33 hash = "sha256-mU8vXEPR88QpJpzXZlZdDhMtlwIx5YpeYhXU8Vw2T9g=";
34 fetchSubmodules = true; # submodule at `loopy/target/c/compyte`
37 build-system = [ setuptools ];
56 export HOME=$(mktemp -d)
59 pythonImportsCheck = [ "loopy" ];
61 # pyopencl._cl.LogicError: clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR
65 description = "Code generator for array-based code on CPUs and GPUs";
66 homepage = "https://github.com/inducer/loopy";
67 license = lib.licenses.mit;
68 maintainers = with lib.maintainers; [ tomasajt ];