s-cargot.cabal 3.4 KB

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