diff options
author | Florian Friesdorf <flo@chaoflow.net> | 2013-03-25 15:28:09 +0100 |
---|---|---|
committer | Florian Friesdorf <flo@chaoflow.net> | 2013-03-25 15:28:09 +0100 |
commit | fc9bdabd54c682e1db5a2eb6107d3c4ea314b3fe (patch) | |
tree | 2269ff68aa3d7d39d03e2843fac3cdc55e77b93a /pkgs/development/arduino | |
parent | 870f4cca738a3ecfd4667c9236e3ad188e09b3d6 (diff) |
fix ino
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 6b88a8deaea7..100b3aa87f13 100644 --- a/pkgs/development/arduino/ino/default.nix +++ b/pkgs/development/arduino/ino/default.nix @@ -1,4 +1,5 @@ -{ stdenv, fetchurl, buildPythonPackage, minicom, avrdude, arduino_core, avrgcclibc }: +{ stdenv, fetchurl, buildPythonPackage, pythonPackages, minicom +, avrdude, arduino_core, avrgcclibc }: buildPythonPackage { name = "ino-0.3.4"; @@ -10,15 +11,20 @@ buildPythonPackage { }; # TODO: add avrgcclibc, it must be rebuild with C++ support - propagatedBuildInputs = [ minicom avrdude arduino_core ]; + propagatedBuildInputs = + [ arduino_core avrdude minicom pythonPackages.configobj + pythonPackages.jinja2 pythonPackages.pyserial ]; patchPhase = '' echo "Patching Arduino distribution path" - sed -i 's@/usr/local/share/arduino@${arduino_core}/share/arduino@g' ino/environment.py + sed -i 's@/usr/local/share/arduino@${arduino_core}/share/arduino@g' \ + ino/environment.py + sed -i -e 's@argparse@@' -e 's@ordereddict@@' \ + requirements.txt + sed -i -e 's@from ordereddict@from collections@' \ + ino/environment.py ino/utils.py ''; - doCheck = false; - meta = { description = "Command line toolkit for working with Arduino hardware"; homepage = http://inotool.org/; |