uniform-io.cabal 4.3 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.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. Currently there's no support for TLS certificate verification.
  22. That is planned to be added soon.
  23. Requires a '-threaded' compiler switch.
  24. -- URL for the project homepage or repository.
  25. homepage: https://sealgram.com/git/haskell/uniform-io
  26. -- The license under which the package is released.
  27. license: MIT
  28. -- The file containing the license text.
  29. license-file: LICENSE
  30. -- The package author(s).
  31. author: Marcos Dumay de Medeiros
  32. -- An email address to which users can send suggestions, bug reports, and
  33. -- patches.
  34. maintainer: marcos@marcosdumay.com
  35. -- A copyright notice.
  36. -- copyright:
  37. category: System
  38. build-type: Simple
  39. -- Extra files to be distributed with the package, such as examples or a
  40. -- README.
  41. -- extra-source-files:
  42. -- Constraint on the version of Cabal needed to build this package.
  43. cabal-version: >=1.10
  44. Extra-Source-Files:
  45. src/System/IO/Uniform/ds.c
  46. source-repository head
  47. type: git
  48. location: https://sealgram.com/git/haskell/uniform-io
  49. branch: master
  50. source-repository this
  51. type: git
  52. location: https://sealgram.com/git/haskell/uniform-io
  53. tag: 1.2.2.1
  54. library
  55. -- Modules exported by the library.
  56. exposed-modules:
  57. System.IO.Uniform,
  58. System.IO.Uniform.Network,
  59. System.IO.Uniform.File,
  60. System.IO.Uniform.Std,
  61. System.IO.Uniform.ByteString,
  62. System.IO.Uniform.HandlePair,
  63. System.IO.Uniform.Streamline,
  64. System.IO.Uniform.Streamline.Scanner
  65. ghc-options: -Wall -fno-warn-unused-do-bind -fwarn-incomplete-patterns -fno-warn-orphans
  66. -- Modules included in this library but not exported.
  67. other-modules:
  68. System.IO.Uniform.External
  69. -- LANGUAGE extensions used by modules in this package.
  70. other-extensions:
  71. OverloadedStrings
  72. ExistentialQuantification
  73. ForeignFunctionInterface
  74. InterruptibleFFI
  75. EmptyDataDecls
  76. TypeFamilies
  77. FlexibleInstances
  78. UndecidableInstances
  79. -- Other library packages from which modules are imported.
  80. build-depends:
  81. base >=4.8 && <4.9 ,
  82. iproute >=1.4,
  83. bytestring >=0.10,
  84. network >=2.4,
  85. transformers >=0.3,
  86. word8 >=0.1,
  87. attoparsec >=0.13.0.1,
  88. data-default-class >= 0.0.1,
  89. monad-control,
  90. transformers-base,
  91. interruptible
  92. -- Directories containing source files.
  93. hs-source-dirs: src
  94. -- Base language which the package is written in.
  95. default-language: Haskell2010
  96. include-dirs: cbits
  97. includes: ds.h
  98. install-includes: ds.h
  99. C-Sources: cbits/ds.c
  100. extra-libraries: ssl, crypto, pthread
  101. Test-suite targets
  102. type: detailed-0.9
  103. test-module: Targets
  104. hs-source-dirs:
  105. test
  106. build-depends:
  107. base >=4.7 && <5.0,
  108. Cabal >= 1.9.2,
  109. bytestring >=0.10 && <1.0,
  110. uniform-io
  111. other-modules:
  112. Base
  113. ghc-options: -Wall -fno-warn-unused-do-bind -fwarn-incomplete-patterns -threaded
  114. default-language: Haskell2010
  115. Test-suite blocking
  116. type: detailed-0.9
  117. test-module: Blocking
  118. hs-source-dirs:
  119. test
  120. build-depends:
  121. base >=4.7 && <5.0,
  122. Cabal >= 1.9.2,
  123. bytestring >=0.10 && <1.0,
  124. attoparsec >=0.10 && <1.0,
  125. uniform-io
  126. other-modules:
  127. Base
  128. ghc-options: -Wall -fno-warn-unused-do-bind -fwarn-incomplete-patterns -threaded
  129. default-language: Haskell2010