Unverified Commit 4b271a86 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #310371 from fabaff/dbus-fast-bump

python312Packages.dbus-fast: 2.21.1 -> 2.21.2
parents 48a44d1d 378345e8
Loading
Loading
Loading
Loading
+18 −19
Original line number Diff line number Diff line
{ lib
, async-timeout
, buildPythonPackage
, cython
, fetchFromGitHub
, poetry-core
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
, wheel
{
  lib,
  async-timeout,
  buildPythonPackage,
  cython,
  fetchFromGitHub,
  poetry-core,
  pytest-asyncio,
  pytestCheckHook,
  pythonOlder,
  setuptools,
  wheel,
}:

buildPythonPackage rec {
  pname = "dbus-fast";
  version = "2.21.1";
  format = "pyproject";
  version = "2.21.2";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "Bluetooth-Devices";
    repo = pname;
    repo = "dbus-fast";
    rev = "refs/tags/v${version}";
    hash = "sha256-L3PZjxbcVfqWktWuN5l8JxfR1GyxuA+1ZtO/W2YqFZA=";
    hash = "sha256-CLv8pNs6P2XRNK5wjo2SbRUuasJVXvd9LFABOwjDA9k=";
  };

  # The project can build both an optimized cython version and an unoptimized
  # python version. This ensures we fail if we build the wrong one.
  env.REQUIRE_CYTHON = 1;

  nativeBuildInputs = [
  build-system = [
    cython
    poetry-core
    setuptools
    wheel
  ];

  propagatedBuildInputs = [
    async-timeout
  ];
  dependencies = [ async-timeout ];

  nativeCheckInputs = [
    pytest-asyncio