matrix-media-expanded/haskell-template.cabal
Sridhar Ratnakumar 5cfb230f15
Add a flake check for HLS (#47)
Also use check-flake for .#check package.

Deal with network access by disabling sandbox, and excluding in garnix.
2022-08-28 18:50:08 -04:00

107 lines
2.2 KiB
Text

cabal-version: 2.4
name: haskell-template
version: 0.1.0.0
license: MIT
copyright: 2022 Sridhar Ratnakumar
maintainer: srid@srid.ca
author: Sridhar Ratnakumar
category: Web
-- TODO: Before hackage release.
-- A short (one-line) description of the package.
-- synopsis:
-- A longer description of the package.
-- description:
-- A URL where users can report bugs.
-- bug-reports:
extra-source-files:
LICENSE
README.md
common shared
ghc-options:
-Wall -Wincomplete-record-updates -Wincomplete-uni-patterns
-Wmissing-deriving-strategies -Wunused-foralls -Wunused-foralls
-fprint-explicit-foralls -fprint-explicit-kinds
mixins:
base hiding (Prelude),
relude (Relude as Prelude, Relude.Container.One),
relude
default-extensions:
NoStarIsType
BangPatterns
ConstraintKinds
DataKinds
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveLift
DeriveTraversable
DerivingStrategies
DerivingVia
EmptyCase
EmptyDataDecls
EmptyDataDeriving
ExistentialQuantification
ExplicitForAll
FlexibleContexts
FlexibleInstances
GADTSyntax
GeneralisedNewtypeDeriving
ImportQualifiedPost
KindSignatures
LambdaCase
MultiParamTypeClasses
MultiWayIf
NumericUnderscores
OverloadedStrings
PolyKinds
PostfixOperators
RankNTypes
ScopedTypeVariables
StandaloneDeriving
StandaloneKindSignatures
TupleSections
TypeApplications
TypeFamilies
TypeOperators
ViewPatterns
build-depends:
, aeson
, async
, base >=4.13.0.0 && <=4.18.0.0
, bytestring
, containers
, data-default
, directory
, filepath
, mtl
, optics-core
, profunctors
, relude
, shower
, text
, time
, with-utf8
hs-source-dirs: src
other-modules: Lib
default-language: Haskell2010
executable haskell-template
import: shared
main-is: Main.hs
test-suite tests
import: shared
main-is: Spec.hs
type: exitcode-stdio-1.0
hs-source-dirs: tests
build-depends: hspec