Merge pull request #130847 from Ekleog/qmk

Make QMK actually work as per the official documentation
This commit is contained in:
Léo Gaspard 2022-01-20 19:30:06 +01:00 committed by GitHub
commit f49e3bf8f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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