Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
2.5 kB · 98 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899{ lib, async-timeout, buildPythonPackage, fetchFromGitHub, poetry-core, pytest-asyncio, pytestCheckHook, pythonOlder, setuptools}:
buildPythonPackage rec { pname = "dbus-fast"; version = "1.86.0"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "Bluetooth-Devices"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-YSkSnRQqalHpRVJx5PUO8EXXV8V6jRNpycO/GqNWmIM="; };
nativeBuildInputs = [ poetry-core setuptools ];
propagatedBuildInputs = [ async-timeout ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
postPatch = '' substituteInPlace pyproject.toml \ --replace " --cov=dbus_fast --cov-report=term-missing:skip-covered" "" '';
pythonImportsCheck = [ "dbus_fast" "dbus_fast.aio" "dbus_fast.service" "dbus_fast.message" ];
disabledTests = [ # Test require a running Dbus instance "test_aio_big_message" "test_aio_properties" "test_aio_proxy_object" "test_bus_disconnect_before_reply" "test_export_alias" "test_export_introspection" "test_export_unexport" "test_glib_big_message" "test_high_level_service_fd_passing" "test_interface_add_remove_signal" "test_introspectable_interface" "test_methods" "test_name_requests" "test_object_manager" "test_peer_interface" "test_property_changed_signal" "test_property_changed_signal" "test_property_methods" "test_sending_file_descriptor_low_level" "test_sending_file_descriptor_with_proxy" "test_sending_messages_between_buses" "test_sending_signals_between_buses" "test_signals" "test_standard_interface_properties" "test_standard_interfaces" "test_tcp_connection_with_forwarding" "test_unexpected_disconnect" # NameError: name '_cast_uint32_native' is not defined "test_unmarshall_bluez_interfaces_added_message" "test_unmarshall_bluez_interfaces_removed_message" "test_unmarshall_bluez_message" "test_unmarshall_bluez_properties_changed_with_service_data" "test_unmarshall_can_resume" "test_unmarshalling_with_table" "test_ay_buffer" ];
meta = with lib; { description = "Faster version of dbus-next"; homepage = "https://github.com/bluetooth-devices/dbus-fast"; changelog = "https://github.com/Bluetooth-Devices/dbus-fast/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}