-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Secure download of packages for cabal-install -- -- For more information, see -- https://www.stackage.org/package/stackage-install @package stackage-install @version 0.1.2 -- | Functionality for downloading packages securely for cabal's usage. module Stackage.Install -- | Run cabal install with --dry-run, determine necessary dependencies, -- download them, and rerun cabal install without --dry-run. -- -- Since 0.1.0.0 install :: Settings -> [String] -> IO ExitCode -- | Download the given name,version pairs into the directory expected by -- cabal. -- -- Since 0.1.0.0 download :: Foldable f => Settings -> f (String, String) -> IO () -- | Settings used by download and install. -- -- Since 0.1.0.0 data Settings -- | Default value for Settings. -- -- Since 0.1.0.0 defaultSettings :: Settings -- | Set how to get the connection manager -- -- Default: newManager tlsManagerSettings -- -- Since 0.1.1.0 setGetManager :: IO Manager -> Settings -> Settings -- | Set the location packages are stored to. -- -- Default: defaultPackageLocation -- -- Since 0.1.1.0 setPackageLocation :: IO (String -> String -> FilePath) -> Settings -> Settings -- | Get the location that a package name/package version combination is -- stored on the filesystem. -- --
-- ~.cabalpackageshackage.haskell.orgnameversionname-version.tar.gz ---- -- Since 0.1.1.0 defaultPackageLocation :: IO (String -> String -> FilePath) -- | Set the location the 00-index.tar file is stored. -- -- Default: defaultIndexLocation -- -- Since 0.1.1.0 setIndexLocation :: IO FilePath -> Settings -> Settings -- | Get the location that the 00-index.tar file is stored. -- --
-- ~.cabalpackageshackage.haskell.org00-index.tar ---- -- Since 0.1.1.0 defaultIndexLocation :: IO FilePath instance GHC.Show.Show Stackage.Install.StackageInstallException instance GHC.Show.Show Stackage.Install.Package instance Data.Aeson.Types.Class.FromJSON Stackage.Install.Package instance GHC.Exception.Exception Stackage.Install.StackageInstallException