lhs2tex is a useful tool for including Haskell/Agda code in LaTeX. It is popular as Ubuntu, FreeBSD and Stackage all have it, but somehow Arch does not. I thus (re)created lhs2tex in AUR, but feel ArchHaskell is a better place to go. The reasons are (1) the author said cabal is the preferred way and (2) I am worried about missing new upstream releases.
Here is the PKGBUILD I uploaded: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=lhs2tex Sorry I am not familiar with the structure of habs (yet) so I did not make a pull request. As far as I know the only hidden dependency is texlive-latexextra which provides polytable.sty and lazylist.sty. If these files do not exist during configure, lhs2tex will install its own versions. Theoretically we could also put texlive-latexextra in optdepends and pass --disable-polytable to configure, but I am not sure how "optional" they are.
lhs2tex
is a useful tool for including Haskell/Agda code in LaTeX. It is popular as Ubuntu, FreeBSD and Stackage all have it, but somehow Arch does not. I thus (re)created lhs2tex in AUR, but feel ArchHaskell is a better place to go. The reasons are (1) the author saidcabal
is the preferred way and (2) I am worried about missing new upstream releases.Here is the
PKGBUILD
I uploaded: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=lhs2tex Sorry I am not familiar with the structure of habs (yet) so I did not make a pull request. As far as I know the only hidden dependency istexlive-latexextra
which providespolytable.sty
andlazylist.sty
. If these files do not exist duringconfigure
,lhs2tex
will install its own versions. Theoretically we could also puttexlive-latexextra
inoptdepends
and pass--disable-polytable
toconfigure
, but I am not sure how "optional" they are.