aur-7.0.4: Access metadata from the Arch Linux User Repository.

Copyright(c) Colin Woodbury 2014 - 2020
LicenseGPL3
MaintainerColin Woodbury <colin@fosskers.ca>
Safe HaskellNone
LanguageHaskell2010

Linux.Arch.Aur

Contents

Description

Access package metadata from the Arch Linux User Repository.

Synopsis

Types

data AurInfo Source #

All relevant information about an AUR package.

Instances
Eq AurInfo Source # 
Instance details

Defined in Linux.Arch.Aur

Methods

(==) :: AurInfo -> AurInfo -> Bool #

(/=) :: AurInfo -> AurInfo -> Bool #

Show AurInfo Source # 
Instance details

Defined in Linux.Arch.Aur

ToJSON AurInfo Source # 
Instance details

Defined in Linux.Arch.Aur

FromJSON AurInfo Source # 
Instance details

Defined in Linux.Arch.Aur

data AurError Source #

Instances
Eq AurError Source # 
Instance details

Defined in Linux.Arch.Aur

Ord AurError Source # 
Instance details

Defined in Linux.Arch.Aur

Show AurError Source # 
Instance details

Defined in Linux.Arch.Aur

Queries

info :: Manager -> [Text] -> IO (Either AurError [AurInfo]) Source #

Perform an info call on one or more package names. Will fail with a Left if there was a connection/decoding error.

search :: Manager -> Text -> IO (Either AurError [AurInfo]) Source #

Perform a search call on a package name or description text. Will fail with a Left if there was a connection/decoding error.