qmk: add all dependencies required for normal operation

This commit is contained in:
Léo Gaspard 2021-07-20 21:15:03 +02:00
parent 5aaed40d22
commit 3db01e9f4c

View File

@ -1,5 +1,10 @@
{ lib { lib
, python3 , python3
, pkgsCross
, avrdude
, dfu-programmer
, dfu-util
, gcc-arm-embedded
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
@ -30,6 +35,14 @@ python3.pkgs.buildPythonApplication rec {
milc milc
pygments pygments
pyusb pyusb
] ++ [ # Binaries need to be in the path so this is in propagatedBuildInputs
avrdude
dfu-programmer
dfu-util
gcc-arm-embedded
pkgsCross.avr.buildPackages.binutils
pkgsCross.avr.buildPackages.gcc8
pkgsCross.avr.libcCross
]; ];
# buildPythonApplication requires setup.py; the setup.py file crafted below # buildPythonApplication requires setup.py; the setup.py file crafted below
@ -61,6 +74,6 @@ python3.pkgs.buildPythonApplication rec {
- ... and many more! - ... and many more!
''; '';
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ bhipple babariviere ]; maintainers = with maintainers; [ bhipple babariviere ekleog ];
}; };
} }