/var/lib/ghc/package.conf.d/download-curl-0.1.3.0.1.conf is in libghc-download-curl-dev 0.1.3-3.
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.3.0.1
id: download-curl-0.1.3.0.1-47240d36aee20aba99de8ab92f976c4f
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.3.0.1/ghc-7.4.1
library-dirs: /usr/lib/haskell-packages/ghc/lib/download-curl-0.1.3.0.1/ghc-7.4.1
hs-libraries: HSdownload-curl-0.1.3.0.1
extra-libraries:
extra-ghci-libraries:
include-dirs:
includes:
depends: base-4.5.0.0-40b99d05fae6a4eea95ea69e6e0c9702
bytestring-0.9.2.1-18f26186028d7c0e92e78edc9071d376
curl-1.3.7-26a38eb7b5d3262a543b3d49e8d55fc3
feed-0.3.8-2762e7b01e57a1c395fc6c3ae6e9d57c
tagsoup-0.12.6-d106cf86387c2d487f6a3c024e258f3b
xml-1.3.12-5561ea21bd297a3af3ed25602dd911e7
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces: /usr/lib/ghc-doc/haddock/download-curl-0.1.3.0.1/download-curl.haddock
haddock-html: /usr/share/doc/libghc-download-curl-doc/html/
|