summary refs log tree commit diff
path: root/pkgs/development/embedded
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-01-12 04:49:35 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-01-16 02:36:24 +0100
commit308e8396b73947dca793085a0377c32d1b477dfe (patch)
treed5b8d380dfb3bf44c5edffd26d84712226e406b0 /pkgs/development/embedded
parentfa0e52a9182b799f1fa9475d80210951bc199722 (diff)
downloadnixpkgs-308e8396b73947dca793085a0377c32d1b477dfe.tar
nixpkgs-308e8396b73947dca793085a0377c32d1b477dfe.tar.gz
nixpkgs-308e8396b73947dca793085a0377c32d1b477dfe.tar.bz2
nixpkgs-308e8396b73947dca793085a0377c32d1b477dfe.tar.lz
nixpkgs-308e8396b73947dca793085a0377c32d1b477dfe.tar.xz
nixpkgs-308e8396b73947dca793085a0377c32d1b477dfe.tar.zst
nixpkgs-308e8396b73947dca793085a0377c32d1b477dfe.zip
ino: drop
The package is stuck on python2 while the upstream has archived its
repository and the last commit is from 2014.

```
  File "/build/ino-0.3.6/ino/runner.py", line 78
    print colorize(str(exc), 'red')
          ^
SyntaxError: invalid syntax
```
Diffstat (limited to 'pkgs/development/embedded')
-rw-r--r--pkgs/development/embedded/arduino/ino/default.nix46
1 files changed, 0 insertions, 46 deletions
diff --git a/pkgs/development/embedded/arduino/ino/default.nix b/pkgs/development/embedded/arduino/ino/default.nix
deleted file mode 100644
index e25a7b83e9c..00000000000
--- a/pkgs/development/embedded/arduino/ino/default.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{ lib, fetchurl, python2Packages, picocom
-, avrdude, arduino-core }:
-
-python2Packages.buildPythonApplication rec {
-  pname = "ino";
-  version = "0.3.6";
-
-  src = fetchurl {
-    url = "mirror://pypi/i/ino/ino-${version}.tar.gz";
-    sha256 = "0k6lzfcn55favbj0w4afrvnmwyskf7bgzg9javv2ycvskp35srwv";
-  };
-
-  # TODO: add avrgcclibc, it must be rebuild with C++ support
-  propagatedBuildInputs = with python2Packages; [
-    arduino-core
-    avrdude
-    picocom
-    configobj
-    jinja2
-    pyserial
-    six
-  ];
-
-  patchPhase = ''
-    echo "Patching Arduino distribution path"
-    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
-
-    # Patch the upload command so it uses the correct avrdude
-    substituteInPlace ino/commands/upload.py \
-      --replace "self.e['avrdude']" "'${avrdude}/bin/avrdude'" \
-      --replace "'-C', self.e['avrdude.conf']," ""
-  '';
-
-  meta = with lib; {
-    description = "Command line toolkit for working with Arduino hardware";
-    homepage = "http://inotool.org/";
-    license = licenses.mit;
-    maintainers = with maintainers; [ antono ];
-    platforms = platforms.linux;
-  };
-}