@hackage / exherbo-cabal

Exheres generator for cabal packages

Latest0.2.1.1

About

Metadata

  • Last updated , by NikolayOrlyuk
  • License GPL-2.0-only
  • Categories Package Distribution
  • Maintained by: virkony@gmail.com

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 7.10.3

Readme

Build Status

Description

Generate package description from .cabal files in format of exheres-0 for Exherbo Linux.

Usage

As a source you can use one of the following reference:

  • ./LOCAL-FILE.cabal and /LOCAL-FILE.cabal: read from LOCAL-FILE.cabal
  • PACKAGE-VERSION: fetch appropriate package from Hackage

You can either pass sources as a list of arguments or as lines of standard input if no arguments provided.

Examples

> exherbo-cabal mtl-2.2.1
> exherbo-cabal mtl transformers
> echo yesod-core | exherbo-cabal
> exherbo-cabal ./exherbo-cabal.cabal
> find /tmp/index -name \*.cabal | exherbo-cabal