-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Access metadata from the Arch Linux User Repository.
--
-- 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.
@package aur
@version 6.1.0
module Linux.Arch.Aur.Types
data RPCResp
RPCResp :: Int -> Text -> Int -> [AurInfo] -> RPCResp
[_version] :: RPCResp -> Int
[_type] :: RPCResp -> Text
[_resultCount] :: RPCResp -> Int
[_results] :: RPCResp -> [AurInfo]
data AurInfo
AurInfo :: Int -> Text -> Int -> Text -> Text -> Maybe Text -> Maybe Text -> Int -> Float -> Maybe Int -> Maybe Text -> Int -> Int -> Maybe Text -> [Text] -> [Text] -> [Text] -> [Text] -> [Text] -> [Text] -> [Text] -> AurInfo
[aurIdOf] :: AurInfo -> Int
[aurNameOf] :: AurInfo -> Text
[pkgBaseIdOf] :: AurInfo -> Int
[pkgBaseOf] :: AurInfo -> Text
[aurVersionOf] :: AurInfo -> Text
[aurDescriptionOf] :: AurInfo -> Maybe Text
[urlOf] :: AurInfo -> Maybe Text
[aurVotesOf] :: AurInfo -> Int
[popularityOf] :: AurInfo -> Float
[dateObsoleteOf] :: AurInfo -> Maybe Int
[aurMaintainerOf] :: AurInfo -> Maybe Text
[submissionDateOf] :: AurInfo -> Int
[modifiedDateOf] :: AurInfo -> Int
[urlPathOf] :: AurInfo -> Maybe Text
[dependsOf] :: AurInfo -> [Text]
[makeDepsOf] :: AurInfo -> [Text]
[optDepsOf] :: AurInfo -> [Text]
[conflictsOf] :: AurInfo -> [Text]
[providesOf] :: AurInfo -> [Text]
[licenseOf] :: AurInfo -> [Text]
[keywordsOf] :: AurInfo -> [Text]
instance GHC.Show.Show Linux.Arch.Aur.Types.RPCResp
instance GHC.Show.Show Linux.Arch.Aur.Types.AurInfo
instance GHC.Classes.Eq Linux.Arch.Aur.Types.AurInfo
instance Data.Aeson.Types.FromJSON.FromJSON Linux.Arch.Aur.Types.RPCResp
instance Data.Aeson.Types.FromJSON.FromJSON Linux.Arch.Aur.Types.AurInfo
instance Data.Aeson.Types.ToJSON.ToJSON Linux.Arch.Aur.Types.AurInfo
-- | See https://aur.archlinux.org/rpc for details.
module Linux.Arch.Aur.Rpc
-- | Perform an info call on one or more package names. Will fail
-- with a Nothing if there was a connection/decoding error.
info :: Manager -> [Text] -> IO (Maybe [AurInfo])
-- | Perform a search call on a package name or description text.
-- Will fail with a Nothing if there was a connection/decoding
-- error.
search :: Manager -> Text -> IO (Maybe [AurInfo])
module Linux.Arch.Aur