qmk: add all dependencies required for normal operation

This commit is contained in:
Léo Gaspard
2022-01-20 17:38:40 +01:00
parent 5aaed40d22
commit 3db01e9f4c
+14 -1
View File
@@ -1,5 +1,10 @@
{ lib
, python3
, pkgsCross
, avrdude
, dfu-programmer
, dfu-util
, gcc-arm-embedded
}:
python3.pkgs.buildPythonApplication rec {
@@ -30,6 +35,14 @@ python3.pkgs.buildPythonApplication rec {
milc
pygments
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
@@ -61,6 +74,6 @@ python3.pkgs.buildPythonApplication rec {
- ... and many more!
'';
license = licenses.mit;
maintainers = with maintainers; [ bhipple babariviere ];
maintainers = with maintainers; [ bhipple babariviere ekleog ];
};
}