aria2h.cabal 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. cabal-version: 2.2
  2. name: aria2h
  3. version: 1.0.0.0
  4. synopsis: A TUI to talk to a remote aria2 instance.
  5. homepage: https://notabug.org/koz.ross/aria2h
  6. license: GPL-3.0-or-later
  7. license-file: LICENSE.md
  8. author: Koz Ross, Hécate
  9. maintainer: koz.ross@retro-freedom.nz
  10. copyright: (C) Koz Ross 2020, Hécate 2020
  11. category: Aria2
  12. tested-with: GHC ==8.10.1
  13. build-type: Simple
  14. extra-source-files:
  15. CHANGELOG.md
  16. README.md
  17. common common-lang
  18. ghc-options:
  19. -Wall -Wcompat -Wincomplete-record-updates
  20. -Wincomplete-uni-patterns -Wredundant-constraints -Werror
  21. default-language: Haskell2010
  22. library aria2hlib
  23. import: common-lang
  24. exposed-modules:
  25. Aria2.Bytes
  26. Aria2.Error
  27. Aria2.File
  28. Aria2.GID
  29. Aria2.Method
  30. Aria2.Notification
  31. Aria2.Options
  32. Aria2.Status
  33. Aria2.URI
  34. build-depends:
  35. , aeson ^>=1.5.0.0
  36. , base >=4.14 && <5
  37. , base64 ^>=0.4.2
  38. , bytestring ^>=0.10.10.0
  39. , ip ^>=1.7.2
  40. , modern-uri ^>=0.3.2.0
  41. , nonempty-vector ^>=0.2.0.2
  42. , optics ^>=0.3
  43. , scientific ^>=0.3.6.2
  44. , static-text ^>=0.2.0.6
  45. , text ^>=1.2.3.2
  46. , time ^>=1.9.3
  47. , unordered-containers ^>=0.2.10.0
  48. , vector ^>=0.12.1.2
  49. hs-source-dirs: src
  50. executable aria2h
  51. import: common-lang
  52. main-is: Main.hs
  53. build-depends:
  54. , aria2hlib
  55. , base
  56. , rhine ^>=0.6.0
  57. , websockets ^>=0.12.7.1
  58. hs-source-dirs: app
  59. test-suite tests
  60. import: common-lang
  61. type: exitcode-stdio-1.0
  62. main-is: Main.hs
  63. build-depends:
  64. , aria2hlib
  65. , base
  66. , hspec >=2.7.1 && <3.0.0
  67. ghc-options: -O2 -threaded -with-rtsopts=-N
  68. hs-source-dirs: test