s-cargot.cabal 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. name: s-cargot
  2. version: 0.1.2.0
  3. synopsis: A flexible, extensible s-expression library.
  4. homepage: https://github.com/aisamanra/s-cargot
  5. description: S-Cargot is a library for working with s-expressions in
  6. a modular and extensible way, opting for genericity and
  7. flexibility instead of speed. Instead of understanding
  8. one particular form of s-expression, the S-Cargot library
  9. exposes tools for parsing or emitting different kinds of
  10. s-expressions, including features not normally included
  11. in an s-expression library like reader macros or tight
  12. control over indentation in pretty-printing.
  13. license: BSD3
  14. license-file: LICENSE
  15. author: Getty Ritter
  16. maintainer: gettyritter@gmail.com
  17. copyright: 2015 Getty Ritter
  18. category: Data
  19. build-type: Simple
  20. cabal-version: >=1.10
  21. source-repository head
  22. type: git
  23. location: git://github.com/aisamanra/s-cargot.git
  24. flag build-example
  25. description: Build example application
  26. default: False
  27. library
  28. exposed-modules: Data.SCargot,
  29. Data.SCargot.Repr,
  30. Data.SCargot.Repr.Basic,
  31. Data.SCargot.Repr.Rich,
  32. Data.SCargot.Repr.WellFormed,
  33. Data.SCargot.Parse,
  34. Data.SCargot.Print,
  35. Data.SCargot.Atom,
  36. Data.SCargot.Comments,
  37. Data.SCargot.Common,
  38. Data.SCargot.Language.Basic,
  39. Data.SCargot.Language.HaskLike
  40. build-depends: base >=4.7 && <5,
  41. parsec >=3.1 && <4,
  42. text >=1.2 && <2,
  43. containers >=0.5 && <1
  44. default-language: Haskell2010
  45. default-extensions: CPP
  46. ghc-options: -Wall
  47. executable example
  48. if !flag(build-example)
  49. buildable: False
  50. main-is: example.hs
  51. hs-source-dirs: example
  52. build-depends: base >=4.7 && <5,
  53. containers >=0.5 && <1,
  54. parsec >=3.1 && <4,
  55. s-cargot ,
  56. text >=1.2 && <2
  57. default-language: Haskell2010
  58. ghc-options: -threaded -rtsopts -with-rtsopts=-N
  59. test-suite s-cargot-qc
  60. default-language: Haskell2010
  61. type: exitcode-stdio-1.0
  62. hs-source-dirs: test
  63. main-is: SCargotQC.hs
  64. build-depends: s-cargot,
  65. base >=4.7 && <5,
  66. parsec >=3.1 && <4,
  67. QuickCheck >=2.8 && <3,
  68. text >=1.2 && <2