Merge pull request #279598 from thiagokokada/bump-mcomix

mcomix: 2.2.1 -> 3.0.0

authored by Thiago Kenji Okada and committed by GitHub 0d404d54 b817555a

+76 -62
-60
pkgs/applications/graphics/mcomix/default.nix
··· 1 - { lib 2 - , fetchurl 3 - , gdk-pixbuf 4 - , gobject-introspection 5 - , gtk3 6 - , mcomix 7 - , python3 8 - , testers 9 - , wrapGAppsHook 10 - 11 - # Recommended Dependencies: 12 - , lhasa 13 - , mupdf 14 - , p7zip 15 - , unrar 16 - , unrarSupport ? false # unfree software 17 - }: 18 - 19 - python3.pkgs.buildPythonApplication rec { 20 - pname = "mcomix"; 21 - version = "2.2.1"; 22 - 23 - src = fetchurl { 24 - url = "mirror://sourceforge/mcomix/${pname}-${version}.tar.gz"; 25 - hash = "sha256-fmnlPhNCN6YR3lW2YCMEAbEiWVigcfFDq1tDQ1eTNkA="; 26 - }; 27 - 28 - buildInputs = [ gtk3 gdk-pixbuf ]; 29 - nativeBuildInputs = [ wrapGAppsHook gobject-introspection ]; 30 - propagatedBuildInputs = (with python3.pkgs; [ pillow pygobject3 pycairo ]); 31 - 32 - # Tests are broken 33 - doCheck = false; 34 - 35 - # prevent double wrapping 36 - dontWrapGApps = true; 37 - 38 - preFixup = '' 39 - makeWrapperArgs+=( 40 - "''${gappsWrapperArgs[@]}" 41 - "--prefix" "PATH" ":" "${lib.makeBinPath ([ p7zip lhasa mupdf ] ++ lib.optional (unrarSupport) unrar)}" 42 - ) 43 - ''; 44 - 45 - passthru.tests.version = testers.testVersion { 46 - package = mcomix; 47 - }; 48 - 49 - meta = with lib; { 50 - description = "Comic book reader and image viewer"; 51 - longDescription = '' 52 - User-friendly, customizable image viewer, specifically designed to handle 53 - comic books and manga supporting a variety of container formats 54 - (including CBR, CBZ, CB7, CBT, LHA and PDF) 55 - ''; 56 - homepage = "https://sourceforge.net/projects/mcomix/"; 57 - license = licenses.gpl2Plus; 58 - maintainers = with maintainers; [ thiagokokada ]; 59 - }; 60 - }
+76
pkgs/by-name/mc/mcomix/package.nix
··· 1 + { lib 2 + , fetchurl 3 + , gdk-pixbuf 4 + , gobject-introspection 5 + , gtk3 6 + , mcomix 7 + , python3 8 + , testers 9 + , wrapGAppsHook 10 + 11 + # Recommended Dependencies: 12 + , p7zip 13 + , unrar 14 + , chardetSupport ? true 15 + , pdfSupport ? true 16 + , unrarSupport ? false # unfree software 17 + }: 18 + 19 + python3.pkgs.buildPythonApplication rec { 20 + pname = "mcomix"; 21 + version = "3.0.0"; 22 + pyproject = true; 23 + 24 + src = fetchurl { 25 + url = "mirror://sourceforge/mcomix/mcomix-${version}.tar.gz"; 26 + hash = "sha256-InDEPXXih49k5MiG1bATElxCiUs2RZTV7JeRVMTeoAQ="; 27 + }; 28 + 29 + buildInputs = [ 30 + gtk3 31 + gdk-pixbuf 32 + ]; 33 + 34 + nativeBuildInputs = [ 35 + gobject-introspection 36 + python3.pkgs.setuptools 37 + wrapGAppsHook 38 + ]; 39 + 40 + propagatedBuildInputs = with python3.pkgs; [ 41 + pillow 42 + pycairo 43 + pygobject3 44 + ] 45 + ++ lib.optionals chardetSupport [ chardet ] 46 + ++ lib.optionals pdfSupport [ pymupdf ]; 47 + 48 + # No tests included in .tar.gz 49 + doCheck = false; 50 + 51 + # Prevent double wrapping 52 + dontWrapGApps = true; 53 + 54 + preFixup = '' 55 + makeWrapperArgs+=( 56 + "''${gappsWrapperArgs[@]}" 57 + "--prefix" "PATH" ":" "${lib.makeBinPath ([ p7zip ] ++ lib.optional unrarSupport unrar)}" 58 + ) 59 + ''; 60 + 61 + passthru.tests.version = testers.testVersion { 62 + package = mcomix; 63 + }; 64 + 65 + meta = with lib; { 66 + description = "Comic book reader and image viewer"; 67 + longDescription = '' 68 + User-friendly, customizable image viewer, specifically designed to handle 69 + comic books and manga supporting a variety of container formats 70 + (including CBR, CBZ, CB7, CBT, LHA and PDF) 71 + ''; 72 + homepage = "https://sourceforge.net/projects/mcomix/"; 73 + license = licenses.gpl2Plus; 74 + maintainers = with maintainers; [ thiagokokada ]; 75 + }; 76 + }
-2
pkgs/top-level/all-packages.nix
··· 33540 33540 33541 33541 mbrola = callPackage ../applications/audio/mbrola { }; 33542 33542 33543 - mcomix = callPackage ../applications/graphics/mcomix { }; 33544 - 33545 33543 mcpp = callPackage ../development/compilers/mcpp { }; 33546 33544 33547 33545 mda_lv2 = callPackage ../applications/audio/mda-lv2 { };