python3.pkgs.dbus-fast: build cython optimized version (#247308)
This commit is contained in:
parent
061c96b486
commit
0869c1bef7
@ -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 = [
|
||||||
|
Loading…
Reference in New Issue
Block a user