s-cargot.cabal 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. name: s-cargot
  2. version: 0.1.3.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. bug-reports: https://github.com/aisamanra/s-cargot/issues
  22. source-repository head
  23. type: git
  24. location: git://github.com/aisamanra/s-cargot.git
  25. flag build-example
  26. description: Build example application
  27. default: False
  28. library
  29. exposed-modules: Data.SCargot,
  30. Data.SCargot.Repr,
  31. Data.SCargot.Repr.Basic,
  32. Data.SCargot.Repr.Rich,
  33. Data.SCargot.Repr.WellFormed,
  34. Data.SCargot.Parse,
  35. Data.SCargot.Print,
  36. Data.SCargot.Atom,
  37. Data.SCargot.Comments,
  38. Data.SCargot.Common,
  39. Data.SCargot.Language.Basic,
  40. Data.SCargot.Language.HaskLike
  41. build-depends: base >=4.7 && <5,
  42. parsec >=3.1 && <4,
  43. text >=1.2 && <2,
  44. containers >=0.5 && <1
  45. default-language: Haskell2010
  46. default-extensions: CPP
  47. ghc-options: -Wall
  48. executable example
  49. if !flag(build-example)
  50. buildable: False
  51. main-is: example.hs
  52. hs-source-dirs: example
  53. build-depends: base >=4.7 && <5,
  54. containers >=0.5 && <1,
  55. parsec >=3.1 && <4,
  56. s-cargot ,
  57. text >=1.2 && <2
  58. default-language: Haskell2010
  59. ghc-options: -threaded -rtsopts -with-rtsopts=-N
  60. test-suite s-cargot-qc
  61. default-language: Haskell2010
  62. type: exitcode-stdio-1.0
  63. hs-source-dirs: test
  64. main-is: SCargotQC.hs
  65. build-depends: s-cargot,
  66. base >=4.7 && <5,
  67. parsec >=3.1 && <4,
  68. QuickCheck >=2.8 && <3,
  69. text >=1.2 && <2