Manage a farm of virtual machines for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

merkel.cabal 5.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. name: merkel
  2. version: 0.1.0.0
  3. -- synopsis:
  4. -- description:
  5. license: GPL
  6. license-file: LICENSE
  7. author: Peter J. Jones
  8. maintainer: pjones@devalot.com
  9. -- copyright:
  10. category: Web
  11. build-type: Simple
  12. extra-source-files: ChangeLog.md
  13. cabal-version: >=1.10
  14. --------------------------------------------------------------------------------
  15. flag maintainer
  16. description: Enable settings for the package maintainer.
  17. manual: True
  18. default: False
  19. --------------------------------------------------------------------------------
  20. library
  21. exposed-modules:
  22. Merkel
  23. Merkel.Operations.Instructor
  24. Merkel.Operations.Instructor.Create
  25. Merkel.Operations.Instructor.CreateTerm
  26. Merkel.Operations.Instructor.Login
  27. Merkel.Operations.Student
  28. Merkel.Operations.Student.Create
  29. Merkel.Operations.Student.Join
  30. Merkel.Operations.System.Migrate
  31. Merkel.Operations.Term.Event
  32. Merkel.Operations.Term.List
  33. Merkel.Operations.VirtualMachine.Event
  34. Merkel.Types
  35. Merkel.Types.API
  36. Merkel.Types.API.Account.Create
  37. Merkel.Types.API.Account.Login
  38. Merkel.Types.API.CreateStudent
  39. Merkel.Types.API.EmptyResponse
  40. Merkel.Types.API.Join
  41. Merkel.Types.API.Term
  42. Merkel.Types.API.Term.Event
  43. Merkel.Types.API.Term.List
  44. Merkel.Types.API.Instructor.Create
  45. Merkel.Types.API.VirtualMachine.Event
  46. Merkel.Types.Config
  47. Merkel.Types.Database
  48. Merkel.Types.Database.Account
  49. Merkel.Types.Database.Course
  50. Merkel.Types.Database.Enrollment
  51. Merkel.Types.Database.Email
  52. Merkel.Types.Database.Instructor
  53. Merkel.Types.Database.Password
  54. Merkel.Types.Database.Student
  55. Merkel.Types.Database.Term
  56. Merkel.Types.Database.VirtualMachine
  57. Merkel.Types.Merkel
  58. Merkel.Types.NixOps
  59. Merkel.Types.NixOps.Deployment
  60. Merkel.Types.NixOps.Machine
  61. Merkel.Util.Database.Account
  62. Merkel.Util.Database.Course
  63. Merkel.Util.Database.Enrollment
  64. Merkel.Util.Database.Instructor
  65. Merkel.Util.Database.Student
  66. Merkel.Util.Database.Term
  67. Merkel.Util.Database.VirtualMachine
  68. Merkel.Util.Groundhog
  69. Merkel.Util.NixOps
  70. Merkel.Util.NixOps.Process
  71. Merkel.Util.NixOps.VirtualMachine
  72. Merkel.Util.Passwords
  73. Merkel.Util.Templates
  74. Merkel.Util.Time
  75. Merkel.Util.Validation
  76. hs-source-dirs: lib
  77. default-language: Haskell2010
  78. ghc-options: -Wall -fwarn-incomplete-uni-patterns
  79. if flag(maintainer)
  80. ghc-options: -Werror
  81. build-depends: base >= 4.9 && < 5
  82. , aeson >= 1.0 && < 1.3
  83. , bytestring >= 0.10 && < 0.11
  84. , containers >= 0.5 && < 0.6
  85. , cryptonite >= 0.23 && < 0.24
  86. , data-default >= 0.7 && < 1.0
  87. , digestive-functors >= 0.8 && < 0.9
  88. , digestive-functors-aeson >= 1.1 && < 1.2
  89. , directory >= 1.3 && < 1.4
  90. , email-validate >= 2.3 && < 2.4
  91. , filepath >= 1.4 && < 1.5
  92. , groundhog >= 0.8 && < 0.9
  93. , groundhog-postgresql >= 0.8 && < 0.9
  94. , groundhog-th >= 0.8 && < 0.9
  95. , lens >= 4.15 && < 5.0
  96. , mtl >= 2.2 && < 2.3
  97. , mustache >= 2.1 && < 2.3
  98. , optparse-applicative >= 0.13 && < 0.15
  99. , parsec >= 3.1 && < 3.2
  100. , process >= 1.4 && < 1.7
  101. , process-extras >= 0.7 && < 0.8
  102. , pwstore-fast >= 2.4 && < 2.5
  103. , resource-pool >= 0.2 && < 0.3
  104. , sandi >= 0.4 && < 0.5
  105. , split >= 0.2 && < 0.3
  106. , text >= 1.2 && < 1.3
  107. , time >= 1.6 && < 1.9
  108. , transformers >= 0.5 && < 1.0
  109. , tz >= 0.1 && < 0.2
  110. , unordered-containers >= 0.2 && < 0.3
  111. , yaml >= 0.8 && < 0.9
  112. --------------------------------------------------------------------------------
  113. executable merkel
  114. hs-source-dirs: src
  115. main-is: Main.hs
  116. default-language: Haskell2010
  117. ghc-options: -Wall -fwarn-incomplete-uni-patterns
  118. build-depends: base, aeson, bytestring, optparse-applicative
  119. , digestive-functors, digestive-functors-aeson
  120. , lens, merkel, mtl, time, unordered-containers
  121. , snap, snap-core, text, transformers
  122. , concurrent-supply >= 0.1.8 && < 0.2
  123. , hashable >= 1.2 && < 1.3
  124. , snap-server >= 1.0 && < 1.1
  125. , stm >= 2.4 && < 2.5
  126. , websockets-snap >= 0.10 && < 0.11
  127. , websockets >= 0.10 && < 0.13
  128. if flag(maintainer)
  129. ghc-options: -Werror