about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2024-01-08 12:31:44 +0000
committerThiago Kenji Okada <thiagokokada@gmail.com>2024-01-08 12:31:44 +0000
commitb2d520bd14e5d6f0eb5ff48617c5013b0cc6c3a3 (patch)
tree17cfd939100bd5c44e0c59973dfd4ab916090417 /pkgs/applications/graphics
parent211f1d86a9b7f3e3543118e1d1668ca02a531d4a (diff)
mcomix: migrate to by-name
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/mcomix/default.nix60
1 files changed, 0 insertions, 60 deletions
diff --git a/pkgs/applications/graphics/mcomix/default.nix b/pkgs/applications/graphics/mcomix/default.nix
deleted file mode 100644
index aa022cf232ab1..0000000000000
--- a/pkgs/applications/graphics/mcomix/default.nix
+++ /dev/null
@@ -1,60 +0,0 @@
-{ lib
-, fetchurl
-, gdk-pixbuf
-, gobject-introspection
-, gtk3
-, mcomix
-, python3
-, testers
-, wrapGAppsHook
-
-# Recommended Dependencies:
-, lhasa
-, mupdf
-, p7zip
-, unrar
-, unrarSupport ? false  # unfree software
-}:
-
-python3.pkgs.buildPythonApplication rec {
-  pname = "mcomix";
-  version = "2.2.1";
-
-  src = fetchurl {
-    url = "mirror://sourceforge/mcomix/${pname}-${version}.tar.gz";
-    hash = "sha256-fmnlPhNCN6YR3lW2YCMEAbEiWVigcfFDq1tDQ1eTNkA=";
-  };
-
-  buildInputs = [ gtk3 gdk-pixbuf ];
-  nativeBuildInputs = [ wrapGAppsHook gobject-introspection ];
-  propagatedBuildInputs = (with python3.pkgs; [ pillow pygobject3 pycairo ]);
-
-  # Tests are broken
-  doCheck = false;
-
-  # prevent double wrapping
-  dontWrapGApps = true;
-
-  preFixup = ''
-    makeWrapperArgs+=(
-      "''${gappsWrapperArgs[@]}"
-      "--prefix" "PATH" ":" "${lib.makeBinPath ([ p7zip lhasa mupdf ] ++ lib.optional (unrarSupport) unrar)}"
-    )
-  '';
-
-  passthru.tests.version = testers.testVersion {
-    package = mcomix;
-  };
-
-  meta = with lib; {
-    description = "Comic book reader and image viewer";
-    longDescription = ''
-      User-friendly, customizable image viewer, specifically designed to handle
-      comic books and manga supporting a variety of container formats
-      (including CBR, CBZ, CB7, CBT, LHA and PDF)
-    '';
-    homepage = "https://sourceforge.net/projects/mcomix/";
-    license = licenses.gpl2Plus;
-    maintainers = with maintainers; [ thiagokokada ];
-  };
-}