2022-01-16 18:31:03 +01:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, cmake, qtsvg, qtwebengine, qttranslations }:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "PageEdit";
|
2022-09-04 12:26:52 +02:00
|
|
|
version = "1.9.20";
|
2022-01-16 18:31:03 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Sigil-Ebook";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-09-04 12:26:52 +02:00
|
|
|
hash = "sha256-naoflFANeMwabbdrNL3+ndvEXYT4Yqf+Mo77HcCexHE=";
|
2022-01-16 18:31:03 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake qttranslations ];
|
|
|
|
propagatedBuildInputs = [ qtsvg qtwebengine ];
|
2022-07-04 03:26:36 +02:00
|
|
|
cmakeFlags = [ "-DINSTALL_BUNDLED_DICTS=0" ];
|
2022-01-16 18:31:03 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "ePub XHTML Visual Editor";
|
|
|
|
homepage = "https://sigil-ebook.com/pageedit/";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = [ maintainers.pasqui23 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|