about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/development/embedded/arduino/ino/default.nix46
-rw-r--r--pkgs/top-level/aliases.nix1
-rw-r--r--pkgs/top-level/all-packages.nix2
3 files changed, 1 insertions, 48 deletions
diff --git a/pkgs/development/embedded/arduino/ino/default.nix b/pkgs/development/embedded/arduino/ino/default.nix
deleted file mode 100644
index e25a7b83e9c77..0000000000000
--- 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;
-  };
-}
diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix
index cf121f680fb70..cf73dae7e0b5a 100644
--- a/pkgs/top-level/aliases.nix
+++ b/pkgs/top-level/aliases.nix
@@ -423,6 +423,7 @@ mapAliases ({
   kodiGBM = kodi-gbm;
   kodiPlain = kodi;
   kodiPlainWayland = kodi-wayland;
+  ino = throw "ino has been removed from nixpkgs, the project is stuck on python2 and upstream has archived the project."; # added 2022-01-12
   jellyfin_10_5 = throw "Jellyfin 10.5 is no longer supported and contains a security vulnerability. Please upgrade to a newer version."; # added 2021-04-26
   julia_07 = throw "julia_07 has been deprecated in favor of the latest LTS version"; # added 2020-09-15
   julia_1 = throw "julia_1 has been deprecated in favor of julia_10 as it was ambiguous"; # added 2021-03-13
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 52d6d8a297a91..b0c374b159fe9 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -14895,8 +14895,6 @@ with pkgs;
 
   indent = callPackage ../development/tools/misc/indent { };
 
-  ino = callPackage ../development/embedded/arduino/ino { };
-
   inotify-tools = callPackage ../development/tools/misc/inotify-tools { };
 
   intel-gpu-tools = callPackage ../development/tools/misc/intel-gpu-tools { };