2022-01-19 23:45:15 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, cmake, qtsvg, qtwebengine, qttranslations }:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "PageEdit";
|
2022-06-26 10:26:21 +00:00
|
|
|
version = "1.9.10";
|
2022-01-19 23:45:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Sigil-Ebook";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-06-26 10:26:21 +00:00
|
|
|
hash = "sha256-y2Z5enEptiOrwEGBKlo4H4I9ojIPG9KP3BlvTCj4PVY=";
|
2022-01-19 23:45:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake qttranslations ];
|
|
|
|
propagatedBuildInputs = [ qtsvg qtwebengine ];
|
|
|
|
cmakeFlags = "-DINSTALL_BUNDLED_DICTS=0";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "ePub XHTML Visual Editor";
|
|
|
|
homepage = "https://sigil-ebook.com/pageedit/";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = [ maintainers.pasqui23 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|