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.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. --------------------------------------------------------------------------------
  2. name: cassava-streams
  3. version: 0.3.0.4
  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-2019 Peter Jones
  10. category: Data, Text, CSV, IO-Streams
  11. build-type: Simple
  12. cabal-version: 1.18
  13. homepage: https://code.devalot.com/open/cassava-streams
  14. bug-reports: https://code.devalot.com/open/cassava-streams/issues
  15. description:
  16. The cassava-streams library glues togeter the cassava CSV library
  17. and the io-streams streaming library.
  18. .
  19. See the "System.IO.Streams.Csv.Tutorial" module for a simple tutorial.
  20. --------------------------------------------------------------------------------
  21. extra-source-files:
  22. README.md
  23. CHANGES.md
  24. test/*.csv
  25. --------------------------------------------------------------------------------
  26. source-repository head
  27. type: git
  28. location: https://code.devalot.com/open/cassava-streams.git
  29. --------------------------------------------------------------------------------
  30. flag tutorial
  31. description: Build the tutorial binary (useful for profiling).
  32. manual: True
  33. default: False
  34. --------------------------------------------------------------------------------
  35. library
  36. exposed-modules:
  37. System.IO.Streams.Csv
  38. System.IO.Streams.Csv.Tutorial
  39. other-modules:
  40. System.IO.Streams.Csv.Encode
  41. System.IO.Streams.Csv.Decode
  42. hs-source-dirs: src
  43. default-language: Haskell2010
  44. ghc-options: -Wall -fwarn-incomplete-uni-patterns
  45. build-depends: base >= 4.8 && < 5.0
  46. , bytestring >= 0.10 && < 0.11
  47. , cassava >= 0.4 && < 0.6
  48. , io-streams >= 1.1 && < 1.6
  49. , vector >= 0.10 && < 0.13
  50. --------------------------------------------------------------------------------
  51. executable tutorial
  52. default-language: Haskell2010
  53. hs-source-dirs: bin
  54. main-is: tutorial.hs
  55. ghc-options: -Wall -fwarn-incomplete-uni-patterns -rtsopts
  56. if !flag(tutorial)
  57. buildable: False
  58. else
  59. build-depends: base
  60. , cassava-streams
  61. , io-streams
  62. --------------------------------------------------------------------------------
  63. test-suite test
  64. type: exitcode-stdio-1.0
  65. default-language: Haskell2010
  66. hs-source-dirs: test
  67. main-is: test.hs
  68. ghc-options: -Wall -fwarn-incomplete-uni-patterns
  69. build-depends: base
  70. , QuickCheck >= 2.7 && < 3.0
  71. , bytestring
  72. , cassava
  73. , cassava-streams
  74. , io-streams
  75. , tasty >= 0.8 && < 1.3
  76. , tasty-quickcheck >= 0.8 && < 1.3
  77. , vector