Merge pull request #202960 from dotlambda/klipper-python3

This commit is contained in:
Martin Weinelt 2022-11-26 13:11:58 +01:00 committed by GitHub
commit 6f8b75aa78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 6 deletions

View file

@ -6,7 +6,6 @@
, libffi
, libusb1
, wxGTK30-gtk3
, python2
, python3
, gcc-arm-embedded
, klipper
@ -20,7 +19,6 @@
src = klipper.src;
nativeBuildInputs = [
python2
python3
pkgsCross.avr.stdenv.cc
gcc-arm-embedded

View file

@ -4,7 +4,7 @@
, pkgsCross
, klipper
, klipper-firmware
, python2
, python3
, avrdude
, stm32flash
, mcu ? "mcu"
@ -19,7 +19,7 @@ in
writeShellApplication {
name = "klipper-flash-${mcu}";
runtimeInputs = [
python2
python3
pkgsCross.avr.stdenv.cc
gnumake
] ++ lib.optionals (boardArch == "avr") [ avrdude ] ++ lib.optionals (boardArch == "stm32") [ stm32flash ];

View file

@ -1,12 +1,12 @@
{ writeShellApplication
, klipper
, python2
, python3
, gnumake
, pkgsCross
}: writeShellApplication {
name = "klipper-genconf";
runtimeInputs = [
python2
python3
pkgsCross.avr.stdenv.cc
gnumake
];