mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
2eb1dcc5b2
Maintainer has not committed for >2 years.
44 lines
1.0 KiB
Nix
44 lines
1.0 KiB
Nix
{ stdenv, mkDerivation, fetchFromGitHub, cmake, pkgconfig, makeWrapper
|
|
, boost, xercesc
|
|
, qtbase, qttools, qtwebkit, qtxmlpatterns
|
|
, python3, python3Packages
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
name = "sigil-${version}";
|
|
version = "0.9.14";
|
|
|
|
src = fetchFromGitHub {
|
|
sha256 = "0fmfbfpnmhclbbv9cbr1xnv97si6ls7331kk3ix114iqkngqwgl1";
|
|
rev = version;
|
|
repo = "Sigil";
|
|
owner = "Sigil-Ebook";
|
|
};
|
|
|
|
pythonPath = with python3Packages; [ lxml ];
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
|
|
|
|
buildInputs = [
|
|
boost xercesc qtbase qttools qtwebkit qtxmlpatterns
|
|
python3Packages.lxml ];
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
preFixup = ''
|
|
wrapProgram "$out/bin/sigil" \
|
|
--prefix PYTHONPATH : $PYTHONPATH \
|
|
''${qtWrapperArgs[@]}
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Free, open source, multi-platform ebook (ePub) editor";
|
|
homepage = https://github.com/Sigil-Ebook/Sigil/;
|
|
license = licenses.gpl3;
|
|
# currently unmaintained
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|