Wrapper around the Haskell library cassava for processing CSV data in constant space via io-streams.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cassava-streams.cabal 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. --------------------------------------------------------------------------------
  2. name: cassava-streams
  3. version: 0.1.0.0
  4. synopsis: io-streams interface for the cassava CSV library.
  5. license: BSD3
  6. license-file: LICENSE
  7. author: Peter Jones <pjones@devalot.com>
  8. maintainer: Peter Jones <pjones@devalot.com>
  9. copyright: Copyright (c) 2014 Peter Jones
  10. category: Data, Text, CSV, IO-Streams
  11. build-type: Simple
  12. cabal-version: >=1.10
  13. tested-with: GHC==7.8.2
  14. homepage: https://github.com/pjones/cassava-streams
  15. bug-reports: https://github.com/pjones/cassava-streams/issues
  16. description:
  17. The cassava-streams library glues togeter the cassava CSV library
  18. and the io-streams streaming library.
  19. .
  20. See the "System.IO.Streams.Csv.Tutorial" module for a simple tutorial.
  21. --------------------------------------------------------------------------------
  22. extra-source-files:
  23. README.md
  24. CHANGELOG
  25. test/simple.csv
  26. --------------------------------------------------------------------------------
  27. source-repository head
  28. type: git
  29. location: https://github.com/pjones/cassava-streams.git
  30. --------------------------------------------------------------------------------
  31. flag maintainer
  32. description: Enable settings for the package maintainer.
  33. default: False
  34. --------------------------------------------------------------------------------
  35. flag tutorial
  36. description: Build the tutorial binary (useful for profiling).
  37. default: False
  38. --------------------------------------------------------------------------------
  39. library
  40. exposed-modules:
  41. System.IO.Streams.Csv
  42. System.IO.Streams.Csv.Tutorial
  43. other-modules:
  44. System.IO.Streams.Csv.Encode
  45. System.IO.Streams.Csv.Decode
  46. hs-source-dirs: src
  47. default-language: Haskell2010
  48. ghc-options: -O2 -Wall -fwarn-incomplete-uni-patterns
  49. ghc-prof-options: -prof -auto-all
  50. if flag(maintainer)
  51. ghc-options: -Werror
  52. build-depends: base >= 4.6 && < 5.0
  53. , bytestring >= 0.10 && < 1.0
  54. , cassava >= 0.3 && < 0.4
  55. , io-streams >= 1.1.0 && < 2.0
  56. , vector >= 0.10 && < 1.0
  57. --------------------------------------------------------------------------------
  58. executable tutorial
  59. default-language: Haskell2010
  60. hs-source-dirs: bin
  61. main-is: tutorial.hs
  62. ghc-options: -O2 -Wall -Werror -rtsopts
  63. ghc-prof-options: -fprof-auto-top -fprof-cafs
  64. if !flag(tutorial)
  65. buildable: False
  66. else
  67. build-depends: base
  68. , cassava-streams
  69. , io-streams