21 # optional dependencies
29 buildPythonPackage rec {
34 disabled = pythonOlder "3.7";
36 src = fetchFromGitHub {
39 rev = "refs/tags/v${version}";
40 hash = "sha256-BecZvBJsaTHIhJhWM9GZldSL6Irrc7fiedulTN9e76I=";
44 OPENSSL_NO_VENDOR = true;
47 # Remove docs tests, myst-docutils in nixpkgs is not compatible with package requirements.
48 # Package uses old version.
49 patches = [ ./remove-docs-test.patch ];
51 cargoDeps = rustPlatform.importCargoLock {
52 lockFile = ./Cargo.lock;
54 "columnation-0.1.0" = "sha256-RAyZKR+sRmeWGh7QYPZnJgX9AtWqmca85HcABEFUgX8=";
55 "timely-0.12.0" = "sha256-sZuVLBDCXurIe38m4UAjEuFeh73VQ5Jawy+sr3U/HbI=";
56 "libsqlite3-sys-0.26.0" = "sha256-WpJA+Pm5dWKcdUrP0xS5ps/oE/yAXuQvvsdyDfDet1o=";
63 rustPlatform.maturinBuildHook
64 rustPlatform.cargoSetupHook
67 dontUseCmakeConfigure = true;
75 propagatedBuildInputs = [ jsonpickle ];
77 optional-dependencies = {
78 kafka = [ confluent-kafka ];
82 export PY_IGNORE_IMPORTMISMATCH=1
88 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
91 # dependens on an old myst-docutils version
95 pythonImportsCheck = [ "bytewax" ];
98 description = "Python Stream Processing";
99 homepage = "https://github.com/bytewax/bytewax";
100 changelog = "https://github.com/bytewax/bytewax/releases/tag/v${version}";
101 license = licenses.asl20;
102 maintainers = with maintainers; [
106 # mismatched type expected u8, found i8
107 broken = stdenv.hostPlatform.isAarch64;