mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
377a16fbe8
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/sigil/versions
43 lines
1.1 KiB
Nix
43 lines
1.1 KiB
Nix
{ stdenv, fetchFromGitHub, cmake, pkgconfig, makeWrapper
|
|
, boost, xercesc
|
|
, qtbase, qttools, qtwebkit, qtxmlpatterns
|
|
, python3, python3Packages
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "sigil-${version}";
|
|
version = "0.9.12";
|
|
|
|
src = fetchFromGitHub {
|
|
sha256 = "0zlm1jjk91cbrphrilpvxhbm26bbmgy10n7hd0fb1ml8q70q34s3";
|
|
rev = version;
|
|
repo = "Sigil";
|
|
owner = "Sigil-Ebook";
|
|
};
|
|
|
|
pythonPath = with python3Packages; [ lxml ];
|
|
|
|
propagatedBuildInputs = with python3Packages; [ lxml ];
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
|
|
|
|
buildInputs = [
|
|
boost xercesc qtbase qttools qtwebkit qtxmlpatterns
|
|
python3 python3Packages.lxml ];
|
|
|
|
preFixup = ''
|
|
wrapProgram "$out/bin/sigil" \
|
|
--prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath ${python3Packages.lxml})
|
|
'';
|
|
|
|
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;
|
|
maintainers =[ maintainers.ramkromberg ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|