Skip to content

Commit c14d641

Browse files
authored
yakut: fix dependencies (NixOS#287779)
2 parents 8691f7f + b412d42 commit c14d641

File tree

1 file changed

+24
-15
lines changed

1 file changed

+24
-15
lines changed

pkgs/development/tools/misc/yakut/default.nix

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1-
{ lib
2-
, buildPythonApplication
3-
, fetchPypi
4-
, stdenv
5-
, click
6-
, coloredlogs
7-
, psutil
8-
, pycyphal
9-
, pyserial
10-
, ruamel-yaml
11-
, requests
12-
, scipy
13-
, simplejson
1+
{
2+
lib,
3+
buildPythonApplication,
4+
fetchPypi,
5+
stdenv,
6+
click,
7+
coloredlogs,
8+
mido,
9+
psutil,
10+
pycyphal,
11+
pysdl2,
12+
python-rtmidi,
13+
ruamel-yaml,
14+
requests,
15+
scipy,
16+
simplejson,
1417
}:
1518

1619
buildPythonApplication rec {
@@ -25,18 +28,24 @@ buildPythonApplication rec {
2528

2629
buildInputs = [
2730
(lib.getLib stdenv.cc.cc)
31+
];
32+
dependencies = [
2833
click
2934
coloredlogs
3035
psutil
3136
pycyphal
32-
pyserial
3337
ruamel-yaml
3438
requests
3539
scipy
3640
simplejson
3741
];
42+
optional-dependencies.joystick = [
43+
pysdl2
44+
mido
45+
python-rtmidi
46+
];
3847

39-
# Can't seem to run the tests on nix
48+
# All these require extra permissions and/or actual hardware connected
4049
doCheck = false;
4150

4251
meta = with lib; {

0 commit comments

Comments
 (0)