cabal2nix-2.21.0: Convert Cabal files into Nix build instructions.
Safe HaskellNone
LanguageHaskell2010

Distribution.Nixpkgs.Haskell.Hackage

Documentation

type HackageDB = Map PackageName PackageData Source #

type PackageData = Map Version VersionData Source #

data VersionData Source #

Constructors

Instances

Instances details

hackageTarball :: IO FilePath #

Determine the default path of the Hackage database, which typically resides in $HOME/.cabal/packages/hackage.haskell.org/. Running the command cabal update or cabal v2-update will keep the index up-to-date.

See cabalStateDir on how hackage-db searches for the cabal state directory.

readTarball :: Maybe UTCTime -> FilePath -> IO HackageDB Source #

parsePackageData :: HackageDB -> PackageName -> PackageData -> PackageData Source #

AltStyle によって変換されたページ (->オリジナル) /