diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2016-10-17 16:38:36 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-10-18 23:14:36 +0200 |
commit | a75358c288b376cd700b10170db482da0f5fd491 (patch) | |
tree | 7c10f4911d6ccebab20cb550021ee7915a5a7fb0 /pkgs/development/arduino | |
parent | 57e5b78a2adab941d251fbe9a6d0863113d79d38 (diff) | |
download | nixpkgs-a75358c288b376cd700b10170db482da0f5fd491.tar nixpkgs-a75358c288b376cd700b10170db482da0f5fd491.tar.gz nixpkgs-a75358c288b376cd700b10170db482da0f5fd491.tar.bz2 nixpkgs-a75358c288b376cd700b10170db482da0f5fd491.tar.lz nixpkgs-a75358c288b376cd700b10170db482da0f5fd491.tar.xz nixpkgs-a75358c288b376cd700b10170db482da0f5fd491.tar.zst nixpkgs-a75358c288b376cd700b10170db482da0f5fd491.zip |
ino: use python2
Diffstat (limited to 'pkgs/development/arduino')
-rw-r--r-- | pkgs/development/arduino/ino/default.nix | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/pkgs/development/arduino/ino/default.nix b/pkgs/development/arduino/ino/default.nix index aeb0c5bf8ac..c96edcbeeb6 100644 --- a/pkgs/development/arduino/ino/default.nix +++ b/pkgs/development/arduino/ino/default.nix @@ -1,7 +1,7 @@ -{ stdenv, fetchurl, pythonPackages, picocom +{ stdenv, fetchurl, python2Packages, picocom , avrdude, arduino-core, avrgcclibc }: -pythonPackages.buildPythonApplication rec { +python2Packages.buildPythonApplication rec { name = "ino-0.3.6"; namePrefix = ""; @@ -11,9 +11,15 @@ pythonPackages.buildPythonApplication rec { }; # TODO: add avrgcclibc, it must be rebuild with C++ support - propagatedBuildInputs = - [ arduino-core avrdude picocom pythonPackages.configobj - pythonPackages.jinja2 pythonPackages.pyserial pythonPackages.six ]; + propagatedBuildInputs = with python2Packages; [ + arduino-core + avrdude + picocom + configobj + jinja2 + pyserial + six + ]; patchPhase = '' echo "Patching Arduino distribution path" |