12 buildPythonPackage rec {
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
22 rev = "refs/tags/${version}";
23 hash = "sha256-v65KEP5DuJsZAifd1Rh46x9lSAgBZgyo+e8PKSDKnhw=";
26 build-system = [ poetry-core ];
28 dependencies = [ pyusb ];
30 optional-dependencies = {
31 bluetooth = [ pybluez ];
34 nativeCheckInputs = [ pytestCheckHook ];
36 pythonImportsCheck = [ "nxt" ];
39 description = "Python driver/interface for Lego Mindstorms NXT robot";
40 homepage = "https://github.com/schodet/nxt-python";
41 changelog = "https://github.com/schodet/nxt-python/releases/tag/${version}";
42 license = licenses.gpl3Only;
43 maintainers = with maintainers; [ ibizaman ];