20 # optional dependencies
28 buildPythonPackage rec {
33 disabled = pythonOlder "3.7";
35 src = fetchFromGitHub {
38 rev = "refs/tags/v${version}";
39 hash = "sha256-BecZvBJsaTHIhJhWM9GZldSL6Irrc7fiedulTN9e76I=";
43 OPENSSL_NO_VENDOR = true;
46 # Remove docs tests, myst-docutils in nixpkgs is not compatible with package requirements.
47 # Package uses old version.
49 ./remove-docs-test.patch
52 cargoDeps = rustPlatform.importCargoLock {
53 lockFile = ./Cargo.lock;
55 "columnation-0.1.0" = "sha256-RAyZKR+sRmeWGh7QYPZnJgX9AtWqmca85HcABEFUgX8=";
56 "timely-0.12.0" = "sha256-sZuVLBDCXurIe38m4UAjEuFeh73VQ5Jawy+sr3U/HbI=";
57 "libsqlite3-sys-0.26.0" = "sha256-WpJA+Pm5dWKcdUrP0xS5ps/oE/yAXuQvvsdyDfDet1o=";
64 rustPlatform.maturinBuildHook
65 rustPlatform.cargoSetupHook
68 dontUseCmakeConfigure = true;
76 propagatedBuildInputs = [
80 passthru.optional-dependencies = {
87 export PY_IGNORE_IMPORTMISMATCH=1
93 ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
96 # dependens on an old myst-docutils version
100 pythonImportsCheck = [
105 description = "Python Stream Processing";
106 homepage = "https://github.com/bytewax/bytewax";
107 changelog = "https://github.com/bytewax/bytewax/releases/tag/v${version}";
108 license = licenses.asl20;
109 maintainers = with maintainers; [ mslingsby kfollesdal ];
110 # mismatched type expected u8, found i8
111 broken = stdenv.isAarch64;