s-cargot.cabal 3.4 KB

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