mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-28 15:54:32 +00:00
python3.pkgs.dbus-fast: build cython optimized version (#247308)
This commit is contained in:
parent
061c96b486
commit
0869c1bef7
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user