niv-0.2.0: Easy dependency management for Nix projects

Safe HaskellNone
LanguageHaskell2010

Niv.GitHub

Synopsis

Documentation

githubUpdate Source #

Arguments

:: (Bool -> Text -> IO Text)

prefetch

-> (Text -> Text -> Text -> IO Text)

latest revision

-> (Text -> Text -> IO GithubRepo)

get repo

-> Update () () 

The GitHub update function TODO: fetchers for: * npm * hackage * docker * ... ?

abortCouldNotFetchGitHubRepo :: Text -> (Text, Text) -> IO a Source #

TODO: Error instead of T.Text?

githubLatestRev Source #

Arguments

:: Text

owner

-> Text

repo

-> Text

branch

-> IO Text 

Get the latest revision for owner, repo and branch. TODO: explain no error handling

abort :: Text -> IO a Source #

tshow :: Show a => a -> Text Source #