Skip to content
Snippets Groups Projects
Commit 84af6404 authored by jan.hamal.dvorak's avatar jan.hamal.dvorak
Browse files

Use GHC2021

parent c3f36a01
No related branches found
No related tags found
No related merge requests found
cabal-version: 3.0 cabal-version: 3.0
name: pelican name: pelican
version: 0.1.0.0 version: 0.1.0.0
homepage: https://gitlab.pirati.cz/to/pelican
bug-reports: https://gitlab.pirati.cz/to/pelican/issues
license: AGPL-3.0-or-later license: AGPL-3.0-or-later
license-file: LICENSE.md license-file: LICENSE.md
copyright: Piráti copyright: Piráti
maintainer: jan.hamal.dvorak@pirati.cz maintainer: jan.hamal.dvorak@pirati.cz
author: Jan Hamal Dvořák author: Jan Hamal Dvořák
homepage: https://gitlab.pirati.cz/to/pelican
bug-reports: https://gitlab.pirati.cz/to/pelican/issues
synopsis: Wards against evils of mis-billed short messages synopsis: Wards against evils of mis-billed short messages
--description:
category: Application category: Application
build-type: Simple build-type: Simple
extra-source-files: README.md
data-files: data-files:
static/favicon.ico static/favicon.ico
sql/*.sql sql/*.sql
extra-source-files: README.md
source-repository head source-repository head
type: git type: git
location: https://gitlab.pirati.cz/to/pelican location: https://gitlab.pirati.cz/to/pelican
common common
default-language: Haskell2010
default-extensions:
BlockArguments
DataKinds
DeriveGeneric
DuplicateRecordFields
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
LambdaCase
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
NumericUnderscores
OverloadedStrings
ParallelListComp
QuasiQuotes
Rank2Types
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TemplateHaskell
TupleSections
TypeFamilies
UndecidableInstances
ghc-options:
-Wall
-Wcompat
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Widentities
-Wredundant-constraints
build-depends:
, aeson >=1.4 && <1.6
, aweg >=0.1 && <0.2
, base >=4.13 && <4.16
, bytestring >=0.10 && <0.12
, fast-logger >=3.0 && <3.1
, hikaru >=0.2 && <0.3
, http-types >=0.12 && <0.13
, lucid >=2.9 && <2.10
, mtl >=2.2 && <2.3
, postgresql-simple >=0.6 && <0.7
, praha >=0.1 && <0.2
, praha-config >=0.1 && <0.2
, praha-logger >=0.1 && <0.2
, praha-migrate >=0.1 && <0.2
, text >=1.2 && <1.3
, time >=1.9 && <1.12
, unliftio >=0.2 && <0.3
, unliftio-pool >=0.2 && <0.3
, uuid >=1.3 && <1.4
, vector >=0.12 && <0.13
, wai >=3.2 && <3.3
, wai-extra >=3.0 && <3.2
, wai-middleware-static >=0.9 && <0.10
, warp >=3.3 && <3.4
executable pelican executable pelican
import: common main-is: Main.hs
hs-source-dirs: src
other-modules: other-modules:
Paths_pelican Paths_pelican
Pelican.Action Pelican.Action
...@@ -111,16 +42,41 @@ executable pelican ...@@ -111,16 +42,41 @@ executable pelican
Pelican.Site Pelican.Site
Pelican.Types Pelican.Types
hs-source-dirs: src default-language: GHC2021
main-is: Main.hs default-extensions:
BlockArguments DataKinds DuplicateRecordFields
GeneralizedNewtypeDeriving LambdaCase NoImplicitPrelude
OverloadedStrings ParallelListComp QuasiQuotes Rank2Types
RecordWildCards TemplateHaskell TypeFamilies UndecidableInstances
ghc-options: ghc-options:
-Wunused-packages -Wall -Wcompat -Wincomplete-uni-patterns
-threaded -Wincomplete-record-updates -Widentities -Wredundant-constraints
-rtsopts -Wunused-packages -threaded -rtsopts "-with-rtsopts=-N -c"
"-with-rtsopts=-N -c"
build-depends: build-depends:
, optparse-applicative >=0.16 && <0.17 aeson >=1.4 && <1.6,
aweg >=0.1 && <0.2,
-- EOF base >=4.13 && <4.16,
bytestring >=0.10 && <0.12,
fast-logger >=3.0 && <3.1,
hikaru >=0.2 && <0.3,
http-types >=0.12 && <0.13,
lucid >=2.9 && <2.10,
mtl >=2.2 && <2.3,
postgresql-simple >=0.6 && <0.7,
praha >=0.1 && <0.2,
praha-config >=0.1 && <0.2,
praha-logger >=0.1 && <0.2,
praha-migrate >=0.1 && <0.2,
text >=1.2 && <1.3,
time >=1.9 && <1.12,
unliftio >=0.2 && <0.3,
unliftio-pool >=0.2 && <0.3,
uuid >=1.3 && <1.4,
vector >=0.12 && <0.13,
wai >=3.2 && <3.3,
wai-extra >=3.0 && <3.2,
wai-middleware-static >=0.9 && <0.10,
warp >=3.3 && <3.4,
optparse-applicative >=0.16 && <0.17
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment