arch-web-0.2: arch-web.cabal
cabal-version: 2.2
name: arch-web
version: 0.2
synopsis: Arch Linux official and AUR web interface binding
description:
Arch Linux official and AUR web interface binding.
See README for details.
category: Web
license: MIT
license-file: LICENSE
author: berberman
maintainer: berberman <berberman@yandex.com>
copyright: Copyright (c) berberman 2021
stability: alpha
homepage: https://github.com/berberman/arch-web
bug-reports: https://github.com/berberman/arch-web/issues
extra-doc-files:
CHANGELOG.md
README.md
tested-with: GHC ==8.10.7 || ==9.0.2
common common
build-depends:
, aeson ^>=1.5.4 || ^>=2.0 || ^>=2.1
, base >=4.10 && <5
, deriving-aeson ^>=0.2.6
, exceptions ^>=0.10.4
, http-client ^>=0.6.4 || ^>=0.7.4
, http-client-tls ^>=0.3.5
, http-types ^>=0.12.3
, lens ^>=4.19.2 || ^>=5 || ^>=5.1 || ^>=5.2
, mtl
, servant >=0.18 && <0.20
, servant-client >=0.18 && <0.20
, servant-client-core >=0.18 && <0.20
, text
, time
default-language: Haskell2010
ghc-options:
-Wall -Wcompat -Widentities -Wincomplete-uni-patterns
-Wincomplete-record-updates
if impl(ghc >=8.0)
ghc-options: -Wredundant-constraints
if impl(ghc >=8.2)
ghc-options: -fhide-source-paths
if impl(ghc >=8.4)
ghc-options: -Wmissing-export-lists
if impl(ghc >=8.8)
ghc-options: -Wmissing-deriving-strategies
default-extensions:
NoStarIsType
ConstraintKinds
DataKinds
DeriveAnyClass
DeriveFunctor
DeriveGeneric
DerivingStrategies
DerivingVia
FlexibleContexts
FlexibleInstances
FunctionalDependencies
KindSignatures
LambdaCase
OverloadedStrings
RecordWildCards
ScopedTypeVariables
TypeApplications
TypeFamilies
TypeOperators
ViewPatterns
library
import: common
exposed-modules:
Web.ArchLinux
Web.ArchLinux.API
Web.ArchLinux.Types
Web.ArchLinux.Types.Lens
other-modules: Web.ArchLinux.Types.API
hs-source-dirs: src
test-suite arch-web-test
import: common
type: exitcode-stdio-1.0
build-depends:
, arch-web
, HUnit
hs-source-dirs: test
main-is: Main.hs
source-repository head
type: git
location: https://github.com/berberman/arch-web