python311Packages.nxt-python: fix build

This commit is contained in:
Martin Weinelt
2024-03-18 02:11:32 +01:00
parent 2c6e81106d
commit c0ff0c7820
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pybluez
, pytestCheckHook
, pythonOlder
@@ -10,7 +11,7 @@
buildPythonPackage rec {
pname = "nxt-python";
version = "3.3.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -21,11 +22,15 @@ buildPythonPackage rec {
hash = "sha256-v65KEP5DuJsZAifd1Rh46x9lSAgBZgyo+e8PKSDKnhw=";
};
propagatedBuildInputs = [
build-system = [
poetry-core
];
dependencies = [
pyusb
];
passthru.optional-dependencies = {
optional-dependencies = {
bluetooth = [
pybluez
];