You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
1.7 KiB

cabal-version: 3.0
name: servant-misskey
version: 0.1.0
common c
default-language:
GHC2021
default-extensions:
BangPatterns
BinaryLiterals
BlockArguments
ConstraintKinds
DataKinds
DeriveAnyClass
DeriveFunctor
DeriveGeneric
DeriveTraversable
DerivingStrategies
DerivingVia
DuplicateRecordFields
EmptyCase
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
HexFloatLiterals
InstanceSigs
ImportQualifiedPost
KindSignatures
LambdaCase
MultiParamTypeClasses
NoFieldSelectors
NumericUnderscores
OverloadedLists
OverloadedRecordDot
OverloadedStrings
ScopedTypeVariables
StandaloneDeriving
Strict
TupleSections
TypeApplications
TypeOperators
TypeSynonymInstances
UndecidableInstances
ghc-options:
-Wall
-Wcompat
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wredundant-constraints
-Wmissing-deriving-strategies
-Wno-duplicate-exports
library
import: c
hs-source-dirs: src
build-depends:
, aeson ^>= 2.1.0.0
, base ^>= 4.16
, containers ^>= 0.6.7
, servant ^>= 0.19.1
, text ^>= 2
exposed-modules:
Servant.Misskey
Servant.Misskey.ActivityPub
Servant.Misskey.Common
Servant.Misskey.Following
Servant.Misskey.Notes
Servant.Misskey.Paginated
Servant.Misskey.Self
Servant.Misskey.Users
executable try
import: c
hs-source-dirs: app
main-is: Main.hs
build-depends:
, aeson
, base
, http-client-tls ^>= 0.3.6.1
, servant
, servant-client ^>= 0.19
, servant-misskey
, text