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
version: 0.1.0.0 name: hikaru
license: AGPL-3.0-or-later version: 0.1.0.0
license-file: LICENSE.md homepage: https://github.com/mordae/hikaru#readme
copyright: Jan Hamal Dvořák bug-reports: https://github.com/mordae/hikaru/issues
maintainer: mordae@anilinux.org
author: Jan Hamal Dvořák license: AGPL-3.0-or-later
homepage: https://github.com/mordae/hikaru#readme license-file: LICENSE.md
bug-reports: https://github.com/mordae/hikaru/issues copyright: Jan Hamal Dvořák
synopsis: Haskell web micro framework maintainer: mordae@anilinux.org
author: Jan Hamal Dvořák
synopsis: Haskell web micro framework
description: description:
Hikaru is a micro framework for web applications. Hikaru is a micro framework for web applications.
It provides applicative routing, content negotiation It provides applicative routing, content negotiation
...@@ -17,15 +20,76 @@ description: ...@@ -17,15 +20,76 @@ description:
(It is also a Star Trek reference, which is apparently (It is also a Star Trek reference, which is apparently
a requirement for this class of software.) a requirement for this class of software.)
category: Web category: Web
build-type: Simple build-type: Simple
extra-source-files: README.md extra-source-files: README.md
source-repository head 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
...@@ -39,54 +103,19 @@ library ...@@ -39,54 +103,19 @@ library
Hikaru.Route Hikaru.Route
Hikaru.Types Hikaru.Types
hs-source-dirs: lib hs-source-dirs: lib
other-modules: other-modules:
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
type: exitcode-stdio-1.0 import: common
main-is: Spec.hs
type: exitcode-stdio-1.0
main-is: Spec.hs
build-tool-depends: hspec-discover:hspec-discover -any build-tool-depends: hspec-discover:hspec-discover -any
cpp-options: -DTEST cpp-options: -DTEST
hs-source-dirs: test hs-source-dirs: test
other-modules: other-modules:
Hikaru.Demo Hikaru.Demo
Hikaru.DemoSpec Hikaru.DemoSpec
...@@ -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.
Finish editing this message first!
Please register or to comment