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
name: hikaru
version: 0.1.0.0
license: AGPL-3.0-or-later
license-file: LICENSE.md
copyright: Jan Hamal Dvořák
maintainer: mordae@anilinux.org
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
cabal-version: 3.0
name: hikaru
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-file: LICENSE.md
copyright: Jan Hamal Dvořák
maintainer: mordae@anilinux.org
author: Jan Hamal Dvořák
synopsis: Haskell web micro framework
description:
Hikaru is a micro framework for web applications.
It provides applicative routing, content negotiation
......@@ -17,15 +20,76 @@ description:
(It is also a Star Trek reference, which is apparently
a requirement for this class of software.)
category: Web
build-type: Simple
category: Web
build-type: Simple
extra-source-files: README.md
source-repository head
type: git
type: git
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
import: common
exposed-modules:
Hikaru
Hikaru.Action
......@@ -39,54 +103,19 @@ library
Hikaru.Route
Hikaru.Types
hs-source-dirs: lib
hs-source-dirs: lib
other-modules:
Hikaru.Develop
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
type: exitcode-stdio-1.0
main-is: Spec.hs
import: common
type: exitcode-stdio-1.0
main-is: Spec.hs
build-tool-depends: hspec-discover:hspec-discover -any
cpp-options: -DTEST
hs-source-dirs: test
cpp-options: -DTEST
hs-source-dirs: test
other-modules:
Hikaru.Demo
Hikaru.DemoSpec
......@@ -95,18 +124,34 @@ test-suite spec
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
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
-threaded -rtsopts -with-rtsopts=-N
-threaded
-rtsopts
-with-rtsopts=-N
build-depends:
hikaru -any,
hspec -any
hikaru -any
, hspec -any
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment