2021-12-06 16:07:01 +00:00
|
|
|
{ lib, stdenv, fetchurl, wxGTK, util-linux, zlib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "comical";
|
|
|
|
version = "0.8";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "mirror://sourceforge/comical/comical-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0b6527cc06b25a937041f1eb248d0fd881cf055362097036b939817f785ab85e";
|
|
|
|
};
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2020-11-24 20:58:05 +00:00
|
|
|
buildInputs = [ wxGTK util-linux zlib ];
|
2021-12-06 16:07:01 +00:00
|
|
|
makeFlags = [ "prefix=${placeholder "out"}" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
patches = [ ./wxgtk-2.8.patch ];
|
|
|
|
|
|
|
|
preInstall = "mkdir -pv $out/bin";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Viewer of CBR and CBZ files, often used to store scanned comics";
|
|
|
|
homepage = "http://comical.sourceforge.net/";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with lib.maintainers; [ viric ];
|
2021-01-17 00:15:33 +00:00
|
|
|
platforms = with lib.platforms; linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|