-- 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 7.0.7
-- | Access package metadata from the Arch Linux User Repository.
module Linux.Arch.Aur
-- | All relevant information about an AUR package.
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]
data AurError
NotFound :: ByteString -> AurError
BadJSON :: AurError
OtherAurError :: ByteString -> AurError
-- | Perform an info call on one or more package names. Will fail
-- with a Left if there was a connection/decoding error.
info :: Manager -> [Text] -> IO (Either AurError [AurInfo])
-- | Perform a search call on a package name or description text.
-- Will fail with a Left if there was a connection/decoding error.
search :: Manager -> Text -> IO (Either AurError [AurInfo])
instance Data.Hashable.Class.Hashable Linux.Arch.Aur.AurInfo
instance GHC.Generics.Generic Linux.Arch.Aur.AurInfo
instance GHC.Show.Show Linux.Arch.Aur.AurInfo
instance GHC.Classes.Ord Linux.Arch.Aur.AurInfo
instance GHC.Classes.Eq Linux.Arch.Aur.AurInfo
instance GHC.Show.Show Linux.Arch.Aur.RPCResp
instance GHC.Show.Show Linux.Arch.Aur.AurError
instance GHC.Classes.Ord Linux.Arch.Aur.AurError
instance GHC.Classes.Eq Linux.Arch.Aur.AurError
instance Data.Aeson.Types.FromJSON.FromJSON Linux.Arch.Aur.RPCResp
instance Data.Aeson.Types.FromJSON.FromJSON Linux.Arch.Aur.AurInfo
instance Data.Aeson.Types.ToJSON.ToJSON Linux.Arch.Aur.AurInfo