2021-10-19 10:51:15 -04:00
|
|
|
name: gemserv
|
|
|
|
version: 0.0.0
|
2021-10-24 23:05:58 -04:00
|
|
|
github: "jlamothe/gemserv"
|
2021-10-19 10:51:15 -04:00
|
|
|
license: AGPL-3.0-or-later
|
|
|
|
author: "Jonathan Lamothe"
|
|
|
|
maintainer: "jonathan@jlamothe.net"
|
|
|
|
copyright: "2021 Jonathan Lamothe"
|
|
|
|
|
|
|
|
extra-source-files:
|
|
|
|
- README.md
|
|
|
|
- ChangeLog.md
|
|
|
|
|
|
|
|
# Metadata used when publishing your package
|
|
|
|
synopsis: Basic Gemini server
|
|
|
|
category: Gemini
|
|
|
|
|
|
|
|
# To avoid duplicated efforts in documentation and dealing with the
|
|
|
|
# complications of embedding Haddock markup inside cabal files, it is
|
|
|
|
# common to point users to the README.md file.
|
2021-10-24 23:05:58 -04:00
|
|
|
description: Please see the README on GitHub at <https://github.com/jlamothe/gemserv#readme>
|
2021-10-19 10:51:15 -04:00
|
|
|
|
|
|
|
ghc-options:
|
|
|
|
- -Wall
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
- base >= 4.7 && < 5
|
2021-10-24 12:47:37 -04:00
|
|
|
- bytestring >= 0.10.12.0 && < 0.11
|
2021-10-19 11:19:16 -04:00
|
|
|
- tcp-streams >= 1.0.1.1 && < 1.1
|
2021-10-24 12:47:37 -04:00
|
|
|
- text >= 1.2.4.1 && < 1.3
|
2021-10-22 12:49:49 -04:00
|
|
|
- tls
|
|
|
|
- x509
|
2021-10-19 10:51:15 -04:00
|
|
|
|
|
|
|
library:
|
|
|
|
source-dirs: src
|
|
|
|
|
|
|
|
tests:
|
|
|
|
gemserv-test:
|
|
|
|
main: Spec.hs
|
|
|
|
source-dirs: test
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
dependencies:
|
|
|
|
- gemserv
|
2021-10-19 11:08:12 -04:00
|
|
|
- hspec >= 2.7.10 && < 2.8
|