No Description
haskell

hpath.cabal 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. name: hpath
  2. version: 0.9.2
  3. synopsis: Support for well-typed paths
  4. description: Support for well-typed paths, utilizing ByteString under the hood.
  5. license: BSD3
  6. license-file: LICENSE
  7. author: Julian Ospald <hasufell@posteo.de>
  8. maintainer: Julian Ospald <hasufell@posteo.de>
  9. copyright: Julian Ospald 2016
  10. category: Filesystem
  11. build-type: Simple
  12. cabal-version: 1.14
  13. extra-source-files: README.md
  14. CHANGELOG
  15. cbits/dirutils.h
  16. doctests-hpath.hs
  17. doctests-posix.hs
  18. library
  19. if os(windows)
  20. build-depends: unbuildable<0
  21. buildable: False
  22. hs-source-dirs: src/
  23. default-language: Haskell2010
  24. if impl(ghc >= 8.0)
  25. ghc-options: -Wall -Wno-redundant-constraints
  26. else
  27. ghc-options: -Wall
  28. c-sources: cbits/dirutils.c
  29. exposed-modules: HPath,
  30. HPath.IO,
  31. HPath.IO.Errors,
  32. System.Posix.Directory.Foreign,
  33. System.Posix.Directory.Traversals,
  34. System.Posix.FD,
  35. System.Posix.FilePath
  36. other-modules: HPath.Internal
  37. build-depends: base >= 4.6 && <5
  38. , IfElse
  39. , bytestring >= 0.10.0.0
  40. , deepseq
  41. , exceptions
  42. , hspec
  43. , simple-sendfile >= 0.2.24
  44. , unix >= 2.5
  45. , unix-bytestring
  46. , utf8-string
  47. , word8
  48. test-suite doctests-hpath
  49. if os(windows)
  50. build-depends: unbuildable<0
  51. buildable: False
  52. default-language: Haskell2010
  53. type: exitcode-stdio-1.0
  54. ghc-options: -threaded
  55. main-is: doctests-hpath.hs
  56. build-depends: base
  57. , HUnit
  58. , QuickCheck
  59. , doctest >= 0.8
  60. , hpath
  61. test-suite doctests-posix
  62. if os(windows)
  63. build-depends: unbuildable<0
  64. buildable: False
  65. default-language: Haskell2010
  66. type: exitcode-stdio-1.0
  67. ghc-options: -threaded
  68. main-is: doctests-posix.hs
  69. build-depends: base,
  70. bytestring >= 0.10.0.0,
  71. unix,
  72. hpath,
  73. doctest >= 0.8,
  74. HUnit,
  75. QuickCheck
  76. test-suite spec
  77. if os(windows)
  78. build-depends: unbuildable<0
  79. buildable: False
  80. Type: exitcode-stdio-1.0
  81. Default-Language: Haskell2010
  82. Hs-Source-Dirs: test
  83. Main-Is: Main.hs
  84. other-modules:
  85. HPath.IO.AppendFileSpec
  86. HPath.IO.CanonicalizePathSpec
  87. HPath.IO.CopyDirRecursiveCollectFailuresSpec
  88. HPath.IO.CopyDirRecursiveOverwriteSpec
  89. HPath.IO.CopyDirRecursiveSpec
  90. HPath.IO.CopyFileOverwriteSpec
  91. HPath.IO.CopyFileSpec
  92. HPath.IO.CreateDirRecursiveSpec
  93. HPath.IO.CreateDirSpec
  94. HPath.IO.CreateRegularFileSpec
  95. HPath.IO.CreateSymlinkSpec
  96. HPath.IO.DeleteDirRecursiveSpec
  97. HPath.IO.DeleteDirSpec
  98. HPath.IO.DeleteFileSpec
  99. HPath.IO.GetDirsFilesSpec
  100. HPath.IO.GetFileTypeSpec
  101. HPath.IO.MoveFileOverwriteSpec
  102. HPath.IO.MoveFileSpec
  103. HPath.IO.ReadFileEOFSpec
  104. HPath.IO.ReadFileSpec
  105. HPath.IO.RecreateSymlinkOverwriteSpec
  106. HPath.IO.RecreateSymlinkSpec
  107. HPath.IO.RenameFileSpec
  108. HPath.IO.ToAbsSpec
  109. HPath.IO.WriteFileSpec
  110. Spec
  111. Utils
  112. GHC-Options: -Wall
  113. Build-Depends: base
  114. , HUnit
  115. , IfElse
  116. , bytestring >= 0.10.0.0
  117. , hpath
  118. , hspec >= 1.3
  119. , process
  120. , unix
  121. , unix-bytestring
  122. , utf8-string
  123. source-repository head
  124. type: git
  125. location: https://github.com/hasufell/hpath