diff --git a/pkgs/applications/science/electronics/flatcam/default.nix b/pkgs/applications/science/electronics/flatcam/default.nix deleted file mode 100644 index 0cefff6dc47e..000000000000 --- a/pkgs/applications/science/electronics/flatcam/default.nix +++ /dev/null @@ -1,107 +0,0 @@ -{ - lib, - fetchFromBitbucket, - buildPythonApplication, - pyqt5, - matplotlib, - numpy, - cycler, - python-dateutil, - kiwisolver, - six, - setuptools, - dill, - rtree, - pyopengl, - vispy, - ortools, - svg-path, - simplejson, - shapely, - freetype-py, - fonttools, - rasterio, - lxml, - ezdxf, - qrcode, - reportlab, - svglib, - gdal, - pyserial, - python3, -}: - -buildPythonApplication rec { - pname = "flatcam"; - version = "unstable-2022-02-02"; - - src = fetchFromBitbucket { - owner = "jpcgt"; - repo = pname; - rev = "ebf5cb9e3094362c4b0774a54cf119559c02211d"; # beta branch as of 2022-02-02 - hash = "sha256-QKkBPEM+HVYmSZ83b4JRmOmCMp7C3EUqbJKPqUXMiKE="; - }; - - format = "other"; - - dontBuild = true; - - propagatedBuildInputs = [ - pyqt5 - matplotlib - numpy - cycler - python-dateutil - kiwisolver - six - setuptools - dill - rtree - pyopengl - vispy - ortools - svg-path - simplejson - shapely - freetype-py - fonttools - rasterio - lxml - ezdxf - qrcode - reportlab - svglib - gdal - pyserial - ]; - - preInstall = '' - patchShebangs . - - sed -i "s|/usr/local/bin|$out/bin|" Makefile - - mkdir -p $out/share/{flatcam,applications} - mkdir -p $out/bin - ''; - - installFlags = [ - "USER_ID=0" - "LOCAL_PATH=/build/source/." - "INSTALL_PATH=${placeholder "out"}/share/flatcam" - "APPS_PATH=${placeholder "out"}/share/applications" - ]; - - postInstall = '' - sed -i "s|python3|${ - python3.withPackages (_: propagatedBuildInputs) - }/bin/python3|" $out/bin/flatcam-beta - mv $out/bin/flatcam{-beta,} - ''; - - meta = with lib; { - description = "2-D post processing for PCB fabrication on CNC routers"; - homepage = "https://bitbucket.org/jpcgt/flatcam"; - license = licenses.mit; - maintainers = with maintainers; [ trepetti ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 3f03fb671740..e4a46966569c 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -411,6 +411,7 @@ mapAliases { fit-trackee = fittrackee; # added 2024-09-03 flashrom-stable = flashprog; # Added 2024-03-01 flatbuffers_2_0 = flatbuffers; # Added 2022-05-12 + flatcam = throw "flatcam has been removed because it is unmaintained since 2022 and doesn't support Python > 3.10"; # Added 2025-01-25 flutter313 = throw "flutter313 has been removed because it isn't updated anymore, and no packages in nixpkgs use it. If you still need it, use flutter.mkFlutter to get a custom version"; # Added 2024-10-05 flutter316 = throw "flutter316 has been removed because it isn't updated anymore, and no packages in nixpkgs use it. If you still need it, use flutter.mkFlutter to get a custom version"; # Added 2024-10-05 flutter322 = throw "flutter322 has been removed because it isn't updated anymore, and no packages in nixpkgs use it. If you still need it, use flutter.mkFlutter to get a custom version"; # Added 2024-10-05 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 460225825c5d..4d77737cb590 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17236,8 +17236,6 @@ with pkgs; degate = libsForQt5.callPackage ../applications/science/electronics/degate { }; - flatcam = python39.pkgs.callPackage ../applications/science/electronics/flatcam { }; - geda = callPackage ../applications/science/electronics/geda { guile = guile_2_2; };