From ac6ecb3b3b59b30f0ab2e1f7503881738da2eb5e Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 16 Aug 2023 17:41:10 +0000 Subject: [PATCH] ideamaker: remove after being marked broken for over 18 months It was marked in commit 1d00429e59300942c7c74d69c18a91be1f9ca66b by Luke Granger-Brown on 2021-05-02 (commited on 2021-05-02) Signed-off-by: Matthias Beyer --- pkgs/applications/misc/ideamaker/default.nix | 79 -------------------- pkgs/top-level/all-packages.nix | 2 - 2 files changed, 81 deletions(-) delete mode 100644 pkgs/applications/misc/ideamaker/default.nix diff --git a/pkgs/applications/misc/ideamaker/default.nix b/pkgs/applications/misc/ideamaker/default.nix deleted file mode 100644 index 619a821a32c6..000000000000 --- a/pkgs/applications/misc/ideamaker/default.nix +++ /dev/null @@ -1,79 +0,0 @@ -{ stdenv -, autoPatchelfHook -, curl -, dpkg -, fetchurl -, gcc -, lib -, libGLU -, libcork -, makeDesktopItem -, qt5 -, quazip -, zlib -}: -stdenv.mkDerivation rec { - pname = "ideamaker"; - version = "4.0.1"; - - src = fetchurl { - # N.B. Unfortunately ideamaker adds a number after the patch number in - # their release scheme which is not referenced anywhere other than in - # the download URL. Because of this, I have chosen to not use ${version} - # and just handwrite the correct values in the following URL, hopefully - # avoiding surprises for the next person that comes to update this - # package. - url = "https://download.raise3d.com/ideamaker/release/4.0.1/ideaMaker_4.0.1.4802-ubuntu_amd64.deb"; - sha256 = "0a1jcakdglcr4kz0kyq692dbjk6aq2yqcp3i6gzni91k791h49hp"; - }; - - nativeBuildInputs = [ autoPatchelfHook dpkg qt5.wrapQtAppsHook ]; - buildInputs = [ - curl - gcc.cc.lib - libGLU - libcork - qt5.qtbase - qt5.qtserialport - quazip - zlib - ]; - - unpackPhase = '' - runHook preUnpack - dpkg-deb -x $src . - runHook postUnpack - ''; - - installPhase = '' - runHook preInstall - - mkdir -p $out/{bin,share/pixmaps} - - cp usr/lib/x86_64-linux-gnu/ideamaker/ideamaker $out/bin - ln -s "${desktopItem}/share/applications" $out/share/ - cp usr/share/ideamaker/icons/ideamaker-icon.png $out/share/pixmaps/${pname}.png - - runHook postInstall - ''; - - desktopItem = makeDesktopItem { - name = pname; - exec = pname; - icon = pname; - desktopName = "Ideamaker"; - genericName = meta.description; - categories = [ "Utility" "Viewer" "Engineering" ]; - mimeTypes = [ "application/sla" ]; - }; - - meta = with lib; { - homepage = "https://www.raise3d.com/ideamaker/"; - description = "Raise3D's 3D slicer software"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.unfree; - platforms = [ "x86_64-linux" ]; - maintainers = with maintainers; [ lovesegfault ]; - broken = true; # Segfaults on startup. - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4e3b31607908..61bc82bc4888 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32666,8 +32666,6 @@ with pkgs; id3v2 = callPackage ../applications/audio/id3v2 { }; - ideamaker = libsForQt5.callPackage ../applications/misc/ideamaker { }; - identity = callPackage ../applications/graphics/identity { }; ifenslave = callPackage ../os-specific/linux/ifenslave { };