Skip to content
Snippets Groups Projects
Verified Commit 551500dc authored by jan.hamal.dvorak's avatar jan.hamal.dvorak
Browse files

Make cabal file more readable

parent 4be27c83
No related branches found
No related tags found
No related merge requests found
cabal-version: 3.0 cabal-version: 3.0
name: hikaru name: hikaru
version: 0.1.0.0 version: 0.1.0.0
homepage: https://github.com/mordae/hikaru#readme
bug-reports: https://github.com/mordae/hikaru/issues
license: AGPL-3.0-or-later license: AGPL-3.0-or-later
license-file: LICENSE.md license-file: LICENSE.md
copyright: Jan Hamal Dvořák copyright: Jan Hamal Dvořák
maintainer: mordae@anilinux.org maintainer: mordae@anilinux.org
author: Jan Hamal Dvořák author: Jan Hamal Dvořák
homepage: https://github.com/mordae/hikaru#readme
bug-reports: https://github.com/mordae/hikaru/issues
synopsis: Haskell web micro framework synopsis: Haskell web micro framework
description: description:
Hikaru is a micro framework for web applications. Hikaru is a micro framework for web applications.
...@@ -25,7 +28,68 @@ source-repository head ...@@ -25,7 +28,68 @@ source-repository head
type: git type: git
location: https://github.com/mordae/hikaru location: https://github.com/mordae/hikaru
common common
default-extensions:
AllowAmbiguousTypes
BlockArguments
DataKinds
DefaultSignatures
DeriveGeneric
EmptyDataDecls
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
ImportQualifiedPost
KindSignatures
LambdaCase
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
OverloadedStrings
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
UndecidableInstances
ghc-options:
-Wall
-Wcompat
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Widentities
-Wredundant-constraints
build-depends:
aeson >=1.4 && <1.6
, base >=4.13 && <4.16
, binary >=0.8 && <0.9
, bytestring >=0.10 && <0.12
, case-insensitive >=1.2 && <1.3
, containers >=0.6 && <0.7
, cookie >=0.4 && <0.5
, cryptonite >=0.26 && <0.29
, foreign-store >=0.2 && <0.3
, http-types >=0.12 && <0.13
, lucid >=2.9 && <2.10
, memory >=0.15 && <0.16
, mtl >=2.2 && <2.3
, relude >=0.7 && <1.1
, resourcet >=1.2 && <1.3
, string-conversions >=0.4 && <0.5
, text >=1.2 && <1.3
, text-icu >=0.7 && <0.8
, time >=1.9 && <1.12
, wai >=3.2 && <3.3
, wai-extra >=3.0 && <3.2
, wai-websockets >=3.0 && <3.1
, websockets >=0.12 && <0.13
library library
import: common
exposed-modules: exposed-modules:
Hikaru Hikaru
Hikaru.Action Hikaru.Action
...@@ -44,44 +108,9 @@ library ...@@ -44,44 +108,9 @@ library
Hikaru.Develop Hikaru.Develop
Paths_hikaru Paths_hikaru
default-extensions:
BlockArguments DataKinds DefaultSignatures DeriveGeneric
FlexibleContexts FlexibleInstances GADTs GeneralizedNewtypeDeriving
KindSignatures LambdaCase MultiParamTypeClasses NamedFieldPuns
NoImplicitPrelude OverloadedStrings RankNTypes RecordWildCards
ScopedTypeVariables StandaloneDeriving UndecidableInstances
EmptyDataDecls ImportQualifiedPost
ghc-options:
-Wall -Wcompat -Wincomplete-uni-patterns
-Wincomplete-record-updates -Widentities -Wredundant-constraints
build-depends:
aeson >=1.4 && <=1.6,
base >=4.13 && <=4.16,
binary >=0.8 && <=0.9,
bytestring >=0.10 && <=0.12,
case-insensitive >=1.2 && <=1.3,
containers >=0.6 && <=0.7,
cookie >=0.4 && <=0.5,
cryptonite >=0.26 && <=0.29,
foreign-store >=0.2 && <=0.3,
http-types >=0.12 && <=0.13,
lucid >=2.9 && <=2.10,
memory >=0.15 && <=0.16,
mtl >=2.2 && <=2.3,
relude >=0.7 && <=1.1,
resourcet >=1.2 && <=1.3,
string-conversions >=0.4 && <=0.5,
text >=1.2 && <=1.3,
text-icu >=0.7 && <=0.8,
time >=1.9 && <=1.12,
wai >=3.2 && <=3.3,
wai-extra >=3.0 && <=3.2,
wai-websockets >=3.0 && <=3.1,
websockets >=0.12 && <=0.13
test-suite spec test-suite spec
import: common
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
main-is: Spec.hs main-is: Spec.hs
build-tool-depends: hspec-discover:hspec-discover -any build-tool-depends: hspec-discover:hspec-discover -any
...@@ -95,18 +124,34 @@ test-suite spec ...@@ -95,18 +124,34 @@ test-suite spec
Paths_hikaru Paths_hikaru
default-extensions: default-extensions:
BlockArguments DataKinds DefaultSignatures DeriveGeneric AllowAmbiguousTypes
FlexibleContexts FlexibleInstances GADTs GeneralizedNewtypeDeriving BlockArguments
KindSignatures LambdaCase MultiParamTypeClasses NamedFieldPuns DataKinds
NoImplicitPrelude OverloadedStrings RankNTypes RecordWildCards DefaultSignatures
ScopedTypeVariables StandaloneDeriving UndecidableInstances DeriveGeneric
EmptyDataDecls ImportQualifiedPost EmptyDataDecls
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
ImportQualifiedPost
KindSignatures
LambdaCase
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
OverloadedStrings
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
UndecidableInstances
ghc-options: ghc-options:
-Wall -Wcompat -Wincomplete-uni-patterns -threaded
-Wincomplete-record-updates -Widentities -Wredundant-constraints -rtsopts
-threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-N
build-depends: build-depends:
hikaru -any, hikaru -any
hspec -any , hspec -any
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment