diff options
| author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-05-22 16:01:06 +0200 |
|---|---|---|
| committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-05-22 17:32:03 +0200 |
| commit | 59b1aef59071cae6e87859dc65de973d2cc595c0 (patch) | |
| tree | 18c3aaf31188cb7430359a1bb130d637a363351e /pkgs/development/python-modules/nxt-python/default.nix | |
| parent | python312Packages.waitress-django: clean source (diff) | |
| download | nixpkgs-59b1aef59071cae6e87859dc65de973d2cc595c0.tar.gz | |
python3Packages: format with nixfmt
Diffstat (limited to 'pkgs/development/python-modules/nxt-python/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/nxt-python/default.nix | 37 |
1 files changed, 14 insertions, 23 deletions
diff --git a/pkgs/development/python-modules/nxt-python/default.nix b/pkgs/development/python-modules/nxt-python/default.nix index efbec58b936a..e7d9de8e1c7a 100644 --- a/pkgs/development/python-modules/nxt-python/default.nix +++ b/pkgs/development/python-modules/nxt-python/default.nix @@ -1,11 +1,12 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, poetry-core -, pybluez -, pytestCheckHook -, pythonOlder -, pyusb +{ + lib, + buildPythonPackage, + fetchFromGitHub, + poetry-core, + pybluez, + pytestCheckHook, + pythonOlder, + pyusb, }: buildPythonPackage rec { @@ -22,27 +23,17 @@ buildPythonPackage rec { hash = "sha256-v65KEP5DuJsZAifd1Rh46x9lSAgBZgyo+e8PKSDKnhw="; }; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; - dependencies = [ - pyusb - ]; + dependencies = [ pyusb ]; optional-dependencies = { - bluetooth = [ - pybluez - ]; + bluetooth = [ pybluez ]; }; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "nxt" - ]; + pythonImportsCheck = [ "nxt" ]; meta = with lib; { description = "Python driver/interface for Lego Mindstorms NXT robot"; |
