3
0
Fork 0
forked from mirrors/nixpkgs

ino: use python2

This commit is contained in:
Frederik Rietdijk 2016-10-17 16:38:36 +02:00
parent 57e5b78a2a
commit a75358c288

View file

@ -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"