diff --git a/pkgs/applications/graphics/mcomix/default.nix b/pkgs/applications/graphics/mcomix/default.nix new file mode 100644 index 000000000000..7629c57a2b86 --- /dev/null +++ b/pkgs/applications/graphics/mcomix/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchurl, buildPythonPackage, pygtk, pil }: + +buildPythonPackage rec { + namePrefix = ""; + name = "mcomix-0.98"; + + src = fetchurl { + url = "mirror://sourceforge/mcomix/${name}.tar.bz2"; + sha256 = "93805b6c8540bd673ac4a6ef6e952f00f8fc10e59a63c7e163324a64db2a6b03"; + }; + + doCheck = false; + + pythonPath = [ pygtk pil ]; + + meta = { + description = "Image viewer designed to handle comic books"; + + longDescription = '' + MComix is an user-friendly, customizable image viewer. It is specifically + designed to handle comic books, but also serves as a generic viewer. + It reads images in ZIP, RAR, 7Zip or tar archives as well as plain image + files. It is written in Python and uses GTK+ through the PyGTK bindings, + and runs on both Linux and Windows. + + MComix is a fork of the Comix project, and aims to add bug fixes and + stability improvements after Comix development came to a halt in late 2009. + ''; + + homepage = http://mcomix.sourceforge.net/; + + license = "GPLv2"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c428a25e31a6..46786085ef7c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7031,6 +7031,8 @@ let pygtk = pyGtkGlade; }; + mcomix = callPackage ../applications/graphics/mcomix { }; + mercurial = callPackage ../applications/version-management/mercurial { inherit (pythonPackages) curses; guiSupport = false; # use mercurialFull to get hgk GUI