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