name: Cana version: 0.1.0.0 git: "https://git.kingdread.de/cgit.cgi/Cana" license: BSD-3 author: "Daniel Schadt" copyright: "2021 Daniel Schadt" homepage: "https://git.kingdread.de/cgit.cgi/Cana/about/" extra-source-files: - README.md - ChangeLog.md # Metadata used when publishing your package # synopsis: Short description of your package # category: Web # 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: Project Gemini server implementation, see the README for more details. dependencies: - base >= 4.7 && < 5 - bytestring - data-default - network - network-uri - tls - transformers - x509 - x509-store - filepath - directory - mime-types - text - process - stringsearch library: source-dirs: src flags: static: manual: true default: false executables: Cana-exe: main: Main.hs source-dirs: app when: - condition: flag(static) then: ghc-options: - -threaded - -rtsopts - -with-rtsopts=-N - -static - -O0 - -optl-fuse-ld=bfd ld-options: - -static - -pthread cc-options: - -static else: ghc-options: - -threaded - -rtsopts - -with-rtsopts=-N dependencies: - Cana tests: Cana-test: main: Spec.hs source-dirs: test ghc-options: - -threaded - -rtsopts - -with-rtsopts=-N dependencies: - Cana