mcomix: 2.2.1 -> 3.0.0
This commit is contained in:
parent
b2d520bd14
commit
eb32f20194
@ -8,9 +8,7 @@
|
||||
, testers
|
||||
, wrapGAppsHook
|
||||
|
||||
# Recommended Dependencies:
|
||||
, lhasa
|
||||
, mupdf
|
||||
# Recommended Dependencies:
|
||||
, p7zip
|
||||
, unrar
|
||||
, unrarSupport ? false # unfree software
|
||||
@ -18,27 +16,45 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "mcomix";
|
||||
version = "2.2.1";
|
||||
version = "3.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/mcomix/${pname}-${version}.tar.gz";
|
||||
hash = "sha256-fmnlPhNCN6YR3lW2YCMEAbEiWVigcfFDq1tDQ1eTNkA=";
|
||||
url = "mirror://sourceforge/mcomix/mcomix-${version}.tar.gz";
|
||||
hash = "sha256-InDEPXXih49k5MiG1bATElxCiUs2RZTV7JeRVMTeoAQ=";
|
||||
};
|
||||
|
||||
buildInputs = [ gtk3 gdk-pixbuf ];
|
||||
nativeBuildInputs = [ wrapGAppsHook gobject-introspection ];
|
||||
propagatedBuildInputs = (with python3.pkgs; [ pillow pygobject3 pycairo ]);
|
||||
buildInputs = [
|
||||
gtk3
|
||||
gdk-pixbuf
|
||||
];
|
||||
|
||||
# Tests are broken
|
||||
nativeBuildInputs = [
|
||||
gobject-introspection
|
||||
python3.pkgs.setuptools
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
# Runtime dependencies
|
||||
pillow
|
||||
pycairo
|
||||
pygobject3
|
||||
# Optional dependencies
|
||||
chardet
|
||||
pymupdf
|
||||
];
|
||||
|
||||
# No tests included in .tar.gz
|
||||
doCheck = false;
|
||||
|
||||
# prevent double wrapping
|
||||
# Prevent double wrapping
|
||||
dontWrapGApps = true;
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=(
|
||||
"''${gappsWrapperArgs[@]}"
|
||||
"--prefix" "PATH" ":" "${lib.makeBinPath ([ p7zip lhasa mupdf ] ++ lib.optional (unrarSupport) unrar)}"
|
||||
"--prefix" "PATH" ":" "${lib.makeBinPath ([ p7zip ] ++ lib.optional unrarSupport unrar)}"
|
||||
)
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user