/var/lib/ghc/package.conf.d/download-curl-0.1.4.conf is in libghc-download-curl-dev 0.1.4-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | name: download-curl
version: 0.1.4
id: download-curl-0.1.4-d94eef89690295aeaed0b4931822f735
license: BSD3
copyright: (c) 2008, Don Stewart <dons@galois.com>
maintainer: Don Stewart <dons@galois.com>
stability:
homepage: http://code.haskell.org/~dons/code/download-curl
package-url:
synopsis: High-level file download based on URLs
description: High-level file download based on URLs
.
Download web content as strict or lazy bytestringrs, strings, HTML
tags, XML, RSS or Atom feeds or JSON, using the curl network library.
.
Importing the library:
.
> import Network.Curl.Download
.
Loading a webpage as a "ByteString":
.
> doc <- openURI "http://haskell.org"
.
Loading from a file:
.
> doc <- openURI "file:///tmp/A.hs"
.
Loading a HTML page as a list of tags:
.
> tags <- openAsTags "http://haskell.org"
.
Loading a HTML page as XML:
.
> tags <- openAsXML "http://haskell.org"
.
Loading an RSS or Atom feed:
.
> feed <- openAsFeed "http://haskell.org"
.
These data types can the be processed further with the XML, Feed and
TagSoup libraries.
.
category: Network
author: Don Stewart
exposed: True
exposed-modules: Network.Curl.Download Network.Curl.Download.Lazy
hidden-modules:
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/download-curl-0.1.4/ghc-7.6.3
library-dirs: /usr/lib/haskell-packages/ghc/lib/download-curl-0.1.4/ghc-7.6.3
hs-libraries: HSdownload-curl-0.1.4
extra-libraries:
extra-ghci-libraries:
include-dirs:
includes:
depends: base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57
bytestring-0.10.0.2-4f93248f75667c2c3321a7a6761b576f
curl-1.3.8-60a8235ab2c77de9278a3face7f9dfc6
feed-0.3.9.2-fa11a2b6a0a5ecf1d86e0d98ab06760f
tagsoup-0.13-d5ea5e431f1ed323ac81537c86caeb46
xml-1.3.12-2c5e1c6121129e6066aca28d897d0d9d
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces: /usr/lib/ghc-doc/haddock/download-curl-0.1.4/download-curl.haddock
haddock-html: /usr/share/doc/libghc-download-curl-doc/html/
|