Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type HackageDB = Map PackageName PackageData
- type PackageData = Map Version VersionData
- data VersionData = VersionData {}
- hackageTarball :: IO FilePath
- readTarball :: Maybe UTCTime -> FilePath -> IO HackageDB
- parsePackageData :: HackageDB -> PackageName -> PackageData -> PackageData
Documentation
type HackageDB = Map PackageName PackageData Source #
type PackageData = Map Version VersionData Source #
data VersionData Source #
VersionData | |
|
Instances
Show VersionData Source # | |
Defined in Distribution.Nixpkgs.Haskell.Hackage showsPrec :: Int -> VersionData -> ShowS # show :: VersionData -> String # showList :: [VersionData] -> ShowS # |
hackageTarball :: IO FilePath #
Determine the default path of the Hackage database, which typically
resides at "$HOME/.cabal/packages/hackage.haskell.org/00-index.tar"
.
Running the command "cabal update"
will keep that file up-to-date.
parsePackageData :: HackageDB -> PackageName -> PackageData -> PackageData Source #