Drop older network support
This commit is contained in:
parent
113ebdd321
commit
5ae1267578
@ -9,14 +9,10 @@ description: run untrusted HTML through Text.HTML.SanitizeXSS.sanitizeXSS to
|
||||
|
||||
category: Web
|
||||
stability: Stable
|
||||
cabal-version: >= 1.8
|
||||
cabal-version: >= 1.8
|
||||
build-type: Simple
|
||||
homepage: http://github.com/yesodweb/haskell-xss-sanitize
|
||||
extra-source-files: README.md
|
||||
|
||||
flag network-uri
|
||||
description: Get Network.URI from the network-uri package
|
||||
default: True
|
||||
extra-source-files: README.md ChangeLog.md
|
||||
|
||||
library
|
||||
hs-source-dirs: src
|
||||
@ -26,15 +22,10 @@ library
|
||||
, css-text >= 0.1.1 && < 0.2
|
||||
, text >= 0.11 && < 2
|
||||
, attoparsec >= 0.10.0.3 && < 1
|
||||
|
||||
if flag(network-uri)
|
||||
build-depends: network-uri >= 2.6
|
||||
else
|
||||
build-depends: network < 2.6
|
||||
, network-uri >= 2.6
|
||||
|
||||
exposed-modules: Text.HTML.SanitizeXSS
|
||||
other-modules: Text.HTML.SanitizeXSS.Css
|
||||
ghc-options: -Wall
|
||||
|
||||
test-suite test
|
||||
type: exitcode-stdio-1.0
|
||||
@ -51,13 +42,9 @@ test-suite test
|
||||
, attoparsec >= 0.10.0.3 && < 1
|
||||
, hspec >= 1.3
|
||||
, HUnit >= 1.2
|
||||
|
||||
if flag(network-uri)
|
||||
build-depends: network-uri >= 2.6
|
||||
else
|
||||
build-depends: network < 2.6
|
||||
, network-uri >= 2.6
|
||||
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: http://github.com/yesodweb/haskell-xss-sanitize.git
|
||||
type: git
|
||||
location: https://github.com/yesodweb/haskell-xss-sanitize.git
|
||||
|
||||
Loading…
Reference in New Issue
Block a user