Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 126 lines (105 sloc) 4.599 kb
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 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
-- Initial xml2json.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/

-- The name of the package.
name: xml2json

-- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.2.0.1

-- A short (one-line) description of the package.
synopsis: translate xml to json

-- A longer description of the package.
description: refer git page (https://github.com/yihuang/xml2json)

homepage: https://github.com/yihuang/xml2json

-- The license under which the package is released.
license: BSD3

-- The file containing the license text.
license-file: LICENSE

-- The package author(s).
author: yihuang

-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer: yi.codeplayer@gmail.com

-- A copyright notice.
-- copyright:

category: Text

build-type: Simple

-- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.8

source-repository head
  type: git
  location: git://github.com/yihuang/xml2json

library
  ghc-options: -Wall -O2
  -- Modules exported by the library.
  exposed-modules: Text.XML.ToJSON
                     , Text.XML.PList
                     , Text.XML.ToJSON.Builder
  
  -- Modules included in this library but not exported.
  -- other-modules:
  
  -- Other library packages from which modules are imported.
  build-depends: base ==4.*
                     , transformers >=0.2
                     , bytestring >=0.9
                     , text >=0.11
                     , blaze-builder ==0.3.*
                     , case-insensitive ==0.4.*
                     , unordered-containers >=0.2
                     , vector >=0.9
                     , attoparsec ==0.10.*
                     , aeson ==0.6.*
                     , conduit ==0.5.*
                     , blaze-builder-conduit ==0.5.*
                     , attoparsec-conduit ==0.5.*
                     , tagstream-conduit >=0.5.4

executable xml2json
  main-is: xml2json.hs
  ghc-options: -Wall -O2
  build-depends: base ==4.*
                     , transformers >=0.2
                     , bytestring >=0.9
                     , text >=0.11
                     , blaze-builder ==0.3.*
                     , case-insensitive ==0.4.*
                     , unordered-containers >=0.2
                     , vector >=0.9
                     , attoparsec ==0.10.*
                     , aeson ==0.6.*
                     , conduit ==0.5.*
                     , blaze-builder-conduit ==0.5.*
                     , attoparsec-conduit ==0.5.*
                     , tagstream-conduit >=0.5.4

executable plist2json
  main-is: plist2json.hs
  ghc-options: -Wall -O2
  build-depends: base ==4.*
                     , transformers >=0.2
                     , bytestring >=0.9
                     , text >=0.11
                     , blaze-builder ==0.3.*
                     , case-insensitive ==0.4.*
                     , unordered-containers >=0.2
                     , vector >=0.9
                     , attoparsec ==0.10.*
                     , aeson ==0.6.*
                     , conduit ==0.5.*
                     , blaze-builder-conduit ==0.5.*
                     , attoparsec-conduit ==0.5.*
                     , tagstream-conduit >=0.5.4

test-suite test
    hs-source-dirs: tests
    main-is: Test.hs
    type: exitcode-stdio-1.0
    build-depends: base >= 4 && < 5
                     , vector >=0.9
                     , transformers >= 0.3
                     , resourcet >= 0.3
                     , hspec >= 1.3
                     , bytestring
                     , text
                     , aeson
                     , xml2json >= 0.2
    ghc-options: -Wall
Something went wrong with that request. Please try again.