haskell-boxes / boxes

A pretty-printing library for laying out text in two dimensions, using a simple box model.
Other
37 stars 13 forks source link

Add library to Stackage #20

Closed lancelet closed 4 years ago

lancelet commented 9 years ago

Currently, boxes is not included in any Stackage snapshots: https://www.stackage.org/package/boxes This means (among other things) that packages which depend upon boxes can't be built with the new stack build tool: https://github.com/commercialhaskell/stack

Including a package in Stackage is up to the package owner: https://github.com/fpco/stackage/#get-your-package-included The suggested approach seems to be to get the package building with Travis (to make sure it builds with latest dependencies, etc.), and then submit a PR against stackage.

It would be great it boxes can be added to Stackage.

treeowl commented 9 years ago

I've been asleep at the wheel on this one. I'll try to get to it this week, but no guarantees.

On Wed, Jun 10, 2015 at 11:21 PM, Jonathan Merritt <notifications@github.com

wrote:

Currently, boxes is not included in any Stackage snapshots: https://www.stackage.org/package/boxes This means (among other things) that packages which depend upon boxes can't be built with the new stack build tool: https://github.com/commercialhaskell/stack

Including a package in Stackage is up to the package owner: https://github.com/fpco/stackage/#get-your-package-included The suggested approach seems to be to get the package building with Travis (to make sure it builds with latest dependencies, etc.), and then submit a PR against stackage.

It would be great it boxes can be added to Stackage.

— Reply to this email directly or view it on GitHub https://github.com/treeowl/boxes/issues/20.

lancelet commented 9 years ago

In the mean time, one of my colleagues pointed out an escape hatch for stack; you can use the extra-deps configuration value to specify packages that should be fetched from Hackage instead: https://github.com/commercialhaskell/stack/wiki/FAQ

hdgarrood commented 8 years ago

btw, boxes is in Stackage now, as @phadej volunteered to be the one to investigate if builds start breaking with newer versions of things.

See: https://github.com/fpco/stackage/blob/89fb09abefae3e632d1d54964fbc422b7b890ab5/build-constraints.yaml#L1018

treeowl commented 8 years ago

@hdgarrood, great to hear. Is there anything obvious I need to do to avoid breaking things for Stackage?

phadej commented 8 years ago

@treeowl Nothing particular. The same things asun avoiding to break others people builds. In particular bumping major versions on breaking changes.

kindaro commented 4 years ago

@treeowl Can we close this ticket?

lancelet commented 4 years ago

Seems good to close to me. Thanks.