Adding comical-0.8
svn path=/nixpkgs/trunk/; revision=14016
This commit is contained in:
parent
921b7d3c69
commit
18cc7f4b37
23
pkgs/applications/graphics/comical/default.nix
Normal file
23
pkgs/applications/graphics/comical/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{stdenv, fetchurl, wxGTK, utillinux, zlib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "comical-0.8";
|
||||||
|
src = fetchurl {
|
||||||
|
url = mirror://sourceforge/comical/comical-0.8.tar.gz;
|
||||||
|
sha256 = "0b6527cc06b25a937041f1eb248d0fd881cf055362097036b939817f785ab85e";
|
||||||
|
};
|
||||||
|
buildInputs = [ wxGTK utillinux zlib ];
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i -e 's@"zlib\\.h"@<zlib.h>@' unzip/unzip.h
|
||||||
|
sed -i -e 's@/usr/local@'$out@ \
|
||||||
|
-e 's@-lminiunzip@-lminiunzip -lz@' Makefile
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = "mkdir -p $out/bin ; make install";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Viewer of CBR and CBZ files, often used to store scanned comics";
|
||||||
|
homepage = http://comical.sourceforge.net/;
|
||||||
|
license = "GPLv2+";
|
||||||
|
};
|
||||||
|
}
|
@ -7240,6 +7240,11 @@ let
|
|||||||
python = pythonFull;
|
python = pythonFull;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
comical = import ../applications/graphics/comical {
|
||||||
|
inherit stdenv fetchurl utillinux zlib;
|
||||||
|
inherit wxGTK;
|
||||||
|
};
|
||||||
|
|
||||||
cua = import ../applications/editors/emacs-modes/cua {
|
cua = import ../applications/editors/emacs-modes/cua {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user