summaryrefslogtreecommitdiff
path: root/pgxhtml.cabal
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2019-02-03 21:42:35 +0300
committerdefanor <defanor@uberspace.net>2019-02-03 21:42:35 +0300
commit83a90895a5b6f1267ad272bfe23a6b604068d3c0 (patch)
tree8e9e59ac917c53a7c1921e6fcee14c35a7d0cae4 /pgxhtml.cabal
parent7bc223ad6408a36072b5196fbf0dcc7de15b0984 (diff)
Replace HXT with libxml
The primary issue is that str:encode-uri function from EXSLT is not available with HXT (but available with libxml's friends: libxslt and libexslt, which are generally more complete). This function is important for HTML documents. Another reason is libxml being better documented and somewhat easier to work with. Yet another reason to switch is the intent to avoid dependencies that reimplement common functionality, and/or normally get statically linked.
Diffstat (limited to 'pgxhtml.cabal')
-rw-r--r--pgxhtml.cabal20
1 files changed, 10 insertions, 10 deletions
diff --git a/pgxhtml.cabal b/pgxhtml.cabal
index 6430b31..78de784 100644
--- a/pgxhtml.cabal
+++ b/pgxhtml.cabal
@@ -18,20 +18,20 @@ executable pgxhtml
other-extensions: OverloadedStrings
build-depends: base >=4.9 && <5
, bytestring >=0.10 && <0.11
- , unordered-containers >=0.2 && <0.3
- , text >=1.2 && <1.3
, containers >=0.5 && <0.6
- , postgresql-simple >=0.5 && <0.6
- , postgresql-libpq >=0.9 && <0.10
- , http-types >=0.12 && <0.13
- , hxt >=9.3 && <9.4
- , hxt-xslt >=9.1 && <9.2
+ , envy >=1.5 && <1.6
+ , filepath >=1.4 && <1.5
, http-api-data >=0.3 && <0.4
+ , http-types >=0.12 && <0.13
+ , network-uri >= 2.6.1.0
+ , postgresql-libpq >=0.9 && <0.10
+ , postgresql-simple >=0.5 && <0.6
+ , text >=1.2 && <1.3
+ , unordered-containers >=0.2 && <0.3
, wai >=3.2 && <3.3
- , wai-extra >=3.0 && <3.1
, wai-cli >=0.1 && <0.2
+ , wai-extra >=3.0 && <3.1
, warp >=3.2 && <3.3
- , filepath >=1.4 && <1.5
- , envy >=1.5 && <1.6
default-language: Haskell2010
+ pkgconfig-depends: libxml-2.0, libxslt, libexslt
ghc-options: -Wall