uniform-io.cabal 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. -- Initial filelike.cabal generated by cabal init. For further
  2. -- documentation, see http://haskell.org/cabal/users-guide/
  3. -- The name of the package.
  4. name: uniform-io
  5. -- The package version. See the Haskell package versioning policy (PVP)
  6. -- for standards guiding when and how versions should be incremented.
  7. -- http://www.haskell.org/haskellwiki/Package_versioning_policy
  8. -- PVP summary: +-+------- breaking API changes
  9. -- | | +----- non-breaking API additions
  10. -- | | | +--- code changes with no API change
  11. version: 1.3.0.0
  12. -- A short (one-line) description of the package.
  13. synopsis: Uniform IO over files, network, anything.
  14. -- A longer description of the package.
  15. description:
  16. This library defines a typeclass for abstracting
  17. the differences between the several IO channels available.
  18. It also includes implementations for standard IO, files and
  19. network IO, and easy to use TLS wrapping of network data,
  20. with an extensible interface for user supplied instances.
  21. .
  22. Currently there's no support for TLS certificate verification.
  23. That is planned to be added soon.
  24. .
  25. Requires a '-threaded' compiler switch.
  26. -- URL for the project homepage or repository.
  27. homepage: https://sealgram.com/git/haskell/uniform-io
  28. -- The license under which the package is released.
  29. license: MIT
  30. -- The file containing the license text.
  31. license-file: LICENSE
  32. -- The package author(s).
  33. author: Marcos Dumay de Medeiros
  34. -- An email address to which users can send suggestions, bug reports, and
  35. -- patches.
  36. maintainer: marcos@marcosdumay.com
  37. -- A copyright notice.
  38. -- copyright:
  39. category: System
  40. build-type: Simple
  41. -- Extra files to be distributed with the package, such as examples or a
  42. -- README.
  43. -- extra-source-files:
  44. -- Constraint on the version of Cabal needed to build this package.
  45. cabal-version: >=1.10
  46. Extra-Source-Files:
  47. cbits/ds.c
  48. source-repository head
  49. type: git
  50. location: https://sealgram.com/git/haskell/uniform-io
  51. branch: master
  52. source-repository this
  53. type: git
  54. location: https://sealgram.com/git/haskell/uniform-io
  55. tag: 1.2.0.0
  56. library
  57. -- Modules exported by the library.
  58. exposed-modules:
  59. System.IO.Uniform,
  60. System.IO.Uniform.Network,
  61. System.IO.Uniform.File,
  62. System.IO.Uniform.Std,
  63. System.IO.Uniform.ByteString,
  64. System.IO.Uniform.HandlePair,
  65. System.IO.Uniform.Timeout,
  66. System.IO.Uniform.Streamline,
  67. System.IO.Uniform.Streamline.Scanner
  68. ghc-options: -Wall -fno-warn-unused-do-bind -fwarn-incomplete-patterns -fno-warn-orphans
  69. -- Modules included in this library but not exported.
  70. other-modules:
  71. System.IO.Uniform.External
  72. -- LANGUAGE extensions used by modules in this package.
  73. other-extensions:
  74. OverloadedStrings
  75. ExistentialQuantification
  76. ForeignFunctionInterface
  77. InterruptibleFFI
  78. EmptyDataDecls
  79. TypeFamilies
  80. FlexibleInstances
  81. UndecidableInstances
  82. -- Other library packages from which modules are imported.
  83. build-depends:
  84. base >=4.8 && <4.9 ,
  85. iproute >=1.4,
  86. bytestring >=0.10,
  87. network >=2.4,
  88. transformers >=0.3,
  89. word8 >=0.1,
  90. attoparsec >=0.13.0.1,
  91. data-default-class >= 0.0.1,
  92. monad-control,
  93. transformers-base,
  94. interruptible
  95. -- Directories containing source files.
  96. hs-source-dirs: src
  97. -- Base language which the package is written in.
  98. default-language: Haskell2010
  99. include-dirs: cbits
  100. includes: ds.h
  101. install-includes: ds.h
  102. C-Sources: cbits/ds.c
  103. extra-libraries: ssl, crypto, pthread
  104. Test-suite targets
  105. type: detailed-0.9
  106. test-module: Targets
  107. hs-source-dirs:
  108. test
  109. build-depends:
  110. base >=4.7 && <5.0,
  111. Cabal >= 1.9.2,
  112. bytestring >=0.10 && <1.0,
  113. uniform-io
  114. other-modules:
  115. Base
  116. ghc-options: -Wall -fno-warn-unused-do-bind -fwarn-incomplete-patterns -threaded
  117. default-language: Haskell2010
  118. Test-suite blocking
  119. type: detailed-0.9
  120. test-module: Blocking
  121. hs-source-dirs:
  122. test
  123. build-depends:
  124. base >=4.7 && <5.0,
  125. Cabal >= 1.9.2,
  126. bytestring >=0.10 && <1.0,
  127. attoparsec >=0.10 && <1.0,
  128. uniform-io
  129. other-modules:
  130. Base
  131. ghc-options: -Wall -fno-warn-unused-do-bind -fwarn-incomplete-patterns -threaded
  132. default-language: Haskell2010