2021-10-19 10:51:15 -04:00
|
|
|
name: gemserv
|
|
|
|
version: 0.0.0
|
|
|
|
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.
|
|
|
|
description: Please see README.md
|
|
|
|
|
|
|
|
ghc-options:
|
|
|
|
- -Wall
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
- base >= 4.7 && < 5
|
2021-10-19 11:19:16 -04:00
|
|
|
- tcp-streams >= 1.0.1.1 && < 1.1
|
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
|