python3.pkgs.dbus-fast: build cython optimized version (#247308)

This commit is contained in:
Theodore Ni 2023-08-10 22:38:13 -07:00 committed by GitHub
parent 061c96b486
commit 0869c1bef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,14 @@
{ lib
, async-timeout
, buildPythonPackage
, cython_3
, fetchFromGitHub
, poetry-core
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
, wheel
}:
buildPythonPackage rec {
@ -23,9 +25,15 @@ buildPythonPackage rec {
hash = "sha256-B+NW7ORKIBtjxeR0W0tX7V1MgBtNoyGFX35TXUl7rVE=";
};
# 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 = [
cython_3
poetry-core
setuptools
wheel
];
propagatedBuildInputs = [