mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
Merge pull request #130847 from Ekleog/qmk
Make QMK actually work as per the official documentation
This commit is contained in:
commit
f49e3bf8f6
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue