uniform-io.cabal 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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.2.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.Streamline,
  66. System.IO.Uniform.Streamline.Scanner
  67. ghc-options: -Wall -fno-warn-unused-do-bind -fwarn-incomplete-patterns -fno-warn-orphans
  68. -- Modules included in this library but not exported.
  69. other-modules:
  70. System.IO.Uniform.External
  71. -- LANGUAGE extensions used by modules in this package.
  72. other-extensions:
  73. OverloadedStrings
  74. ExistentialQuantification
  75. ForeignFunctionInterface
  76. InterruptibleFFI
  77. EmptyDataDecls
  78. TypeFamilies
  79. FlexibleInstances
  80. UndecidableInstances
  81. -- Other library packages from which modules are imported.
  82. build-depends:
  83. base >=4.8 && <4.9 ,
  84. iproute >=1.4,
  85. bytestring >=0.10,
  86. network >=2.4,
  87. transformers >=0.3,
  88. word8 >=0.1,
  89. attoparsec >=0.13.0.1,
  90. data-default-class >= 0.0.1,
  91. monad-control,
  92. transformers-base,
  93. interruptible
  94. -- Directories containing source files.
  95. hs-source-dirs: src
  96. -- Base language which the package is written in.
  97. default-language: Haskell2010
  98. include-dirs: cbits
  99. includes: ds.h
  100. install-includes: ds.h
  101. C-Sources: cbits/ds.c
  102. extra-libraries: ssl, crypto, pthread
  103. Test-suite targets
  104. type: detailed-0.9
  105. test-module: Targets
  106. hs-source-dirs:
  107. test
  108. build-depends:
  109. base >=4.7 && <5.0,
  110. Cabal >= 1.9.2,
  111. bytestring >=0.10 && <1.0,
  112. uniform-io
  113. other-modules:
  114. Base
  115. ghc-options: -Wall -fno-warn-unused-do-bind -fwarn-incomplete-patterns -threaded
  116. default-language: Haskell2010
  117. Test-suite blocking
  118. type: detailed-0.9
  119. test-module: Blocking
  120. hs-source-dirs:
  121. test
  122. build-depends:
  123. base >=4.7 && <5.0,
  124. Cabal >= 1.9.2,
  125. bytestring >=0.10 && <1.0,
  126. attoparsec >=0.10 && <1.0,
  127. uniform-io
  128. other-modules:
  129. Base
  130. ghc-options: -Wall -fno-warn-unused-do-bind -fwarn-incomplete-patterns -threaded
  131. default-language: Haskell2010