packages feed

aur-7.0.5: aur.cabal

cabal-version:      2.2
name:               aur
version:            7.0.5
synopsis:           Access metadata from the Arch Linux User Repository.
description:
  Access package information from Arch Linux's AUR via its RPC interface. The
  main exposed functions reflect those of the RPC. `info` gets metadata for one
  package. `search` gets limited metadata for packages that match a given regex.
  By default this library supports version 5 of the RPC, and hence version 4.2+
  of the AUR.

category:           Linux
homepage:           https://github.com/fosskers/aura
author:             Colin Woodbury
maintainer:         colin@fosskers.ca
copyright:          2014 - 2020 Colin Woodbury
license:            GPL-3.0-only
license-file:       LICENSE
build-type:         Simple
extra-source-files:
  README.md
  CHANGELOG.md

common commons
  default-language: Haskell2010
  ghc-options:
    -Wall -Wincomplete-record-updates -Wincomplete-uni-patterns
    -Wredundant-constraints -Widentities

  build-depends:
    , base         >=4.10 && <5
    , http-client  >=0.5  && <0.8

library
  import:          commons
  hs-source-dirs:  lib
  exposed-modules: Linux.Arch.Aur
  build-depends:
    , aeson       >=0.9  && <1.6
    , bytestring
    , hashable    >= 1.2
    , http-types  ^>=0.12
    , text        ^>=1.2

test-suite aur-test
  import:         commons
  type:           exitcode-stdio-1.0
  main-is:        Test.hs
  hs-source-dirs: tests
  ghc-options:    -threaded -with-rtsopts=-N
  build-depends:
    , aur
    , http-client-tls  ^>=0.3
    , tasty            >=0.11 && <1.4
    , tasty-hunit      >=0.9  && <0.11