0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00
Robert Schütz 2025-03-04 18:47:04 -08:00 committed by Martin Weinelt
parent 943f3a63de
commit 6ce8685c88

View file

@ -7,8 +7,6 @@
defusedxml, defusedxml,
docker, docker,
fetchFromGitHub, fetchFromGitHub,
numpy,
pillow,
pkg-config, pkg-config,
pycountry, pycountry,
pytest-asyncio, pytest-asyncio,
@ -16,7 +14,6 @@
pytestCheckHook, pytestCheckHook,
pythonOlder, pythonOlder,
rustPlatform, rustPlatform,
svg-py,
testfixtures, testfixtures,
xz, xz,
}: }:
@ -26,7 +23,7 @@ buildPythonPackage rec {
version = "12.3.1"; version = "12.3.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.12"; disabled = pythonOlder "3.13";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "DeebotUniverse"; owner = "DeebotUniverse";
@ -45,13 +42,12 @@ buildPythonPackage rec {
"defusedxml" "defusedxml"
]; ];
build-system = with rustPlatform; [ nativeBuildInputs = [
cargoSetupHook pkg-config
maturinBuildHook rustPlatform.cargoSetupHook
rustPlatform.maturinBuildHook
]; ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ xz ]; buildInputs = [ xz ];
dependencies = [ dependencies = [
@ -59,9 +55,6 @@ buildPythonPackage rec {
aiomqtt aiomqtt
cachetools cachetools
defusedxml defusedxml
numpy
pillow
svg-py
]; ];
nativeCheckInputs = [ nativeCheckInputs = [