1{ mkDerivation, lib, fetchFromGitHub, qmake, poppler, pkg-config, libunarr
2, libGLU, qtdeclarative, qtgraphicaleffects, qtmultimedia, qtquickcontrols2
3, qtscript
4}:
5
6mkDerivation rec {
7 pname = "yacreader";
8 version = "9.12.0";
9
10 src = fetchFromGitHub {
11 owner = "YACReader";
12 repo = pname;
13 rev = version;
14 sha256 = "sha256-sIQxUiTGQCcHmxBp0Mf49e/XVaJe7onlLHiorMlNLZ8=";
15 };
16
17 nativeBuildInputs = [ qmake pkg-config ];
18 buildInputs = [ poppler libunarr libGLU qtmultimedia qtscript ];
19 propagatedBuildInputs = [ qtquickcontrols2 qtgraphicaleffects qtdeclarative ];
20
21 meta = {
22 description = "A comic reader for cross-platform reading and managing your digital comic collection";
23 homepage = "http://www.yacreader.com";
24 license = lib.licenses.gpl3;
25 maintainers = with lib.maintainers; [ srapenne ];
26 };
27}