s-cargot.cabal 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. name: s-cargot
  2. version: 0.1.0.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.Comments,
  36. Data.SCargot.Common,
  37. Data.SCargot.Language.Basic,
  38. Data.SCargot.Language.HaskLike
  39. build-depends: base >=4.7 && <5,
  40. parsec >=3.1 && <4,
  41. text >=1.2 && <2,
  42. containers >=0.5 && <1
  43. default-language: Haskell2010
  44. default-extensions: CPP
  45. ghc-options: -Wall
  46. executable example
  47. if flag(build-example)
  48. main-is: example.hs
  49. else
  50. buildable: False
  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 ==0.1.0.0,
  65. base >=4.7 && <5,
  66. parsec >=3.1 && <4,
  67. QuickCheck >=2.8 && <3,
  68. text >=1.2 && <2