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
|
2021-10-26 12:32:31 -04:00
|
|
|
synopsis: simple Gemini server
|
2021-10-19 10:51:15 -04:00
|
|
|
category: Gemini
|
2021-10-26 12:32:31 -04:00
|
|
|
homepage: https://git.fingerprintsoftware.ca/jlamothe/gemserv
|
2021-10-19 10:51:15 -04:00
|
|
|
|
|
|
|
# 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-26 12:32:31 -04:00
|
|
|
description: simple Gemini server - see README.md for details
|
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
|
2021-10-26 12:05:56 -04:00
|
|
|
verbatim: &paths
|
|
|
|
autogen-modules: Paths_gemserv
|
2021-10-19 10:51:15 -04:00
|
|
|
|
|
|
|
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
|
2021-10-26 12:05:56 -04:00
|
|
|
verbatim:
|
|
|
|
<<: *paths
|