s-cargot.cabal 3.4 KB

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