-- 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: Get metadata for one package.
-- - search: Get 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 5.0.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 -> Text -> Text -> Int -> Float -> Maybe Int -> Maybe Text -> Int -> Int -> 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 -> Text
[urlOf] :: AurInfo -> Text
[aurVotesOf] :: AurInfo -> Int
[popularityOf] :: AurInfo -> Float
[dateObsoleteOf] :: AurInfo -> Maybe Int
[aurMaintainerOf] :: AurInfo -> Maybe Text
[submissionDateOf] :: AurInfo -> Int
[modifiedDateOf] :: AurInfo -> Int
[urlPathOf] :: AurInfo -> 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.Class.FromJSON Linux.Arch.Aur.Types.RPCResp
instance Data.Aeson.Types.Class.FromJSON 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.
info :: MonadIO m => [Text] -> m [AurInfo]
-- | Perform a search call on a package name or description text.
search :: MonadIO m => Text -> m [AurInfo]
module Linux.Arch.Aur