17 buildPythonPackage rec {
22 disabled = pythonOlder "3.7";
24 src = fetchFromGitHub {
27 rev = "refs/tags/v${version}";
28 hash = "sha256-Cv2bTgs3XfYOcHK628/RgGol7S6E4WfHb7gHXXjBhig=";
32 OPENSSL_NO_VENDOR = true;
35 # Remove docs tests, myst-docutils in nixpkgs is not compatible with package requirements.
36 # Package uses old version.
37 patches = [ ./remove-docs-test.patch ];
39 cargoDeps = rustPlatform.importCargoLock {
40 lockFile = ./Cargo.lock;
42 "columnation-0.1.0" = "sha256-RAyZKR+sRmeWGh7QYPZnJgX9AtWqmca85HcABEFUgX8=";
43 "timely-0.12.0" = "sha256-sZuVLBDCXurIe38m4UAjEuFeh73VQ5Jawy+sr3U/HbI=";
50 rustPlatform.maturinBuildHook
51 rustPlatform.cargoSetupHook
54 dontUseCmakeConfigure = true;
62 passthru.optional-dependencies = {
69 export PY_IGNORE_IMPORTMISMATCH=1
74 ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
76 pythonImportsCheck = [
81 description = "Python Stream Processing";
82 homepage = "https://github.com/bytewax/bytewax";
83 changelog = "https://github.com/bytewax/bytewax/releases/tag/v${version}";
84 license = licenses.asl20;
85 maintainers = with maintainers; [ mslingsby kfollesdal ];
86 # mismatched type expected u8, found i8
87 broken = stdenv.isAarch64;