Merge pull request #66435 from lightbulbjim/sigil-wrapping
sigil: use qt5's mkDerivation
This commit is contained in:
commit
d73cca7808
1 changed files with 8 additions and 7 deletions
|
@ -1,10 +1,10 @@
|
|||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, makeWrapper
|
||||
{ stdenv, mkDerivation, fetchFromGitHub, cmake, pkgconfig, makeWrapper
|
||||
, boost, xercesc
|
||||
, qtbase, qttools, qtwebkit, qtxmlpatterns
|
||||
, python3, python3Packages
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
mkDerivation rec {
|
||||
name = "sigil-${version}";
|
||||
version = "0.9.14";
|
||||
|
||||
|
@ -17,17 +17,18 @@ stdenv.mkDerivation rec {
|
|||
|
||||
pythonPath = with python3Packages; [ lxml ];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ lxml ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
|
||||
|
||||
buildInputs = [
|
||||
boost xercesc qtbase qttools qtwebkit qtxmlpatterns
|
||||
python3 python3Packages.lxml ];
|
||||
python3Packages.lxml ];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/sigil" \
|
||||
--prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath ${python3Packages.lxml})
|
||||
--prefix PYTHONPATH : $PYTHONPATH \
|
||||
''${qtWrapperArgs[@]}
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -36,7 +37,7 @@ stdenv.mkDerivation rec {
|
|||
description = "Free, open source, multi-platform ebook (ePub) editor";
|
||||
homepage = https://github.com/Sigil-Ebook/Sigil/;
|
||||
license = licenses.gpl3;
|
||||
maintainers =[ maintainers.ramkromberg ];
|
||||
# currently unmaintained
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue