2021-11-17 13:15:36 -05:00
|
|
|
name: gemcap
|
2021-11-24 19:46:02 -05:00
|
|
|
version: 0.1.0
|
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
|
2021-11-17 13:15:36 -05:00
|
|
|
synopsis: a simple Gemini capsule (server)
|
2021-10-19 10:51:15 -04:00
|
|
|
category: Gemini
|
2021-11-17 21:23:50 -05:00
|
|
|
homepage: https://codeberg.org/jlamothe/gemcap
|
|
|
|
bug-reports: https://codeberg.org/jlamothe/gemcap/issues
|
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-11-17 13:15:36 -05:00
|
|
|
description: a simple Gemini capsule (server) - see README.md for details
|
2021-10-19 10:51:15 -04:00
|
|
|
|
|
|
|
ghc-options:
|
|
|
|
- -Wall
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
- base >= 4.7 && < 5
|
2022-12-31 01:17:30 -05:00
|
|
|
- bytestring >= 0.11.3.1 && < 0.12
|
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-11-18 20:00:52 -05:00
|
|
|
- io-streams
|
2021-10-28 20:50:20 -04:00
|
|
|
- network
|
2022-12-31 09:25:02 -05:00
|
|
|
- tls >= 1.5.8 && < 1.6
|
2021-11-19 20:58:41 -05:00
|
|
|
- transformers
|
2021-10-22 12:49:49 -04:00
|
|
|
- x509
|
2021-10-19 10:51:15 -04:00
|
|
|
|
|
|
|
library:
|
|
|
|
source-dirs: src
|
2021-10-26 12:05:56 -04:00
|
|
|
verbatim: &paths
|
2021-11-17 13:15:36 -05:00
|
|
|
autogen-modules: Paths_gemcap
|
2021-10-19 10:51:15 -04:00
|
|
|
|
|
|
|
tests:
|
2021-11-17 13:15:36 -05:00
|
|
|
gemcap-test:
|
2021-10-19 10:51:15 -04:00
|
|
|
main: Spec.hs
|
|
|
|
source-dirs: test
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
dependencies:
|
2021-11-17 13:15:36 -05:00
|
|
|
- gemcap
|
2022-12-31 01:17:30 -05:00
|
|
|
- hspec >= 2.9.7 && < 2.10
|
2021-10-26 12:05:56 -04:00
|
|
|
verbatim:
|
|
|
|
<<: *paths
|