jenkinsPlugins2nix-0.1.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

:: Map Text Plugin

Already downloaded plugins.

-> RequestedPlugin

Plugins we're asked to download.

-> ExceptT String IO (Map Text Plugin) 

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

mkExprsFor :: [RequestedPlugin] -> IO (Either String Doc) Source #

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