qmk_firmware: init at 0.6.144
A convenient way to test embedded projects
This commit is contained in:
parent
dcdf00f18b
commit
a33d122be6
27
pkgs/development/misc/qmk_firmware/default.nix
Normal file
27
pkgs/development/misc/qmk_firmware/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchFromGitHub
|
||||
, avrgcc, avrbinutils
|
||||
, gcc-arm-embedded, binutils-arm-embedded
|
||||
, teensy-loader-cli, dfu-programmer, dfu-util }:
|
||||
|
||||
let version = "0.6.144";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "qmk_firmware-${version}";
|
||||
src = fetchFromGitHub {
|
||||
owner = "qmk";
|
||||
repo = "qmk_firmware";
|
||||
rev = version;
|
||||
sha256 = "0m71f9w32ksqjkrwhqwhr74q5v3pr38bihjyb9ks0k5id0inhrjn";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
buildFlags = "all:default";
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error";
|
||||
nativeBuildInputs = [
|
||||
avrgcc
|
||||
avrbinutils
|
||||
gcc-arm-embedded
|
||||
teensy-loader-cli
|
||||
dfu-programmer
|
||||
dfu-util
|
||||
];
|
||||
}
|
@ -22817,6 +22817,13 @@ with pkgs;
|
||||
|
||||
tsung = callPackage ../applications/networking/tsung {};
|
||||
|
||||
qmk_firmware = callPackage ../development/misc/qmk_firmware {
|
||||
avrgcc = pkgsCross.avr.buildPackages.gcc;
|
||||
avrbinutils = pkgsCross.avr.buildPackages.binutils;
|
||||
gcc-arm-embedded = pkgsCross.arm-embedded.buildPackages.gcc;
|
||||
binutils-arm-embedded = pkgsCross.arm-embedded.buildPackages.binutils;
|
||||
};
|
||||
|
||||
newlib = callPackage ../development/misc/newlib { };
|
||||
newlibCross = callPackage ../development/misc/newlib {
|
||||
stdenv = crossLibcStdenv;
|
||||
|
Loading…
Reference in New Issue
Block a user