jenkinsPlugins2nix-0.5.0.0: Generate nix for Jenkins plugins.
Copyright(c) 2017 Mateusz Kowalczyk
LicenseBSD3
Safe HaskellNone
LanguageHaskell2010

Nix.JenkinsPlugins2Nix

Description

Main library entry point.

Synopsis

Documentation

getPluginUrl :: RequestedPlugin -> Text Source #

Get the download URL of the plugin we're looking for.

downloadPluginsRecursive Source #

Arguments

:: ResolutionStrategy

Decide what version of dependencies to pick.

-> Map Text RequestedPlugin

Plugins user requested.

-> Map Text Plugin

Already downloaded plugins.

-> RequestedPlugin

Plugin we're going to download.

-> ExceptT String IO (Map Text Plugin) 

Download the given plugin as well as recursively download its dependencies.

mkExprsFor :: Config -> IO (Either String (Doc ann)) Source #

Pretty-print nix expression for all the given plugins and their dependencies that the user asked for.