Danny Milosavljevic <dan...@scratchpost.org> wrote: > Hmm, do the tests work for you? Back when I tried this was the blocker for > me... >
Yes, they work fine. Aside, I've tested LyX for a few days and everything has worked as expected so far. After looking into all documentation, packages from other distros, and testing different things I'm pretty sure the minimal set of dependencies is what I listed in my previous email. Give the script attached a try if you want (still not a proper package, so you need to do guix package -f lyx.scm). It also needs python@2.7 in the environment as LyX doesn't bind to python properly, but rather tries to find it dynamically during runtime. I need to fix that.
(use-modules (guix packages) (guix download) (guix build-system gnu) (guix licenses) (gnu packages algebra) (gnu packages compression) (gnu packages pkg-config) (gnu packages python) (gnu packages qt)) (package (name "lyx") (version "2.2.3") (source (origin (method url-fetch) (uri (string-append "ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/lyx-" version ".tar.gz")) (sha256 (base32 "0xvaz0i371nn2ndinc0d3ywj76ivb62649a4sdgwbivisiahd2fj")))) (build-system gnu-build-system) (inputs `(("pkg-config" ,pkg-config) ("python" ,python-2) ("qt" ,qt) ("bc" ,bc) ("zlib" ,zlib))) (arguments `(#:configure-flags (list "--enable-qt5"))) (home-page "http://www.lyx.org") (synopsis "An advanced WYSIWYM document processor and LaTeX front-end") (description "LyX is a document processor that encourages an approach to writing based on the structure of your documents (WYSIWYM) and not simply their appearance (WYSIWYG). LyX combines the power and flexibility of TeX/LaTeX with the ease of use of a graphical interface.") (license gpl2+)) ;; wrap python ;; zlib lint