Saturday, September 30, 2023

Packaging non-hackage Haskell

Hi,

I would be grateful for any clues on how to package a Haskell program that has version 9.0.x on hackage, but the latest version on GitHub is 11.2.x and the project appears to not be interested in hackage going forward. This is what I have so far.

If I use the 9.0.1 line, I can at least do 'make extract'.

┆ COMMENT = REST API for any Postgres database

┆ MODCABAL_STEM = postgrest
┆ MODCABAL_VERSION = 11.2.0
┆ #MODCABAL_VERSION = 9.0.1
┆ MODCABAL_EXECUTABLE = postgrest
┆ PKGNAME = ${DISTNAME:L}
┆ CATEGORIES = www mystuff
┆ HOMEPAGE = https://postgrest.org/

┆ # MIT
┆ PERMIT_PACKAGE = Yes

┆ MODULES = devel/cabal

┆ do-build:
┆ cabal v2-build

┆ .include <bsd.port.mk>


--
Alex Holst

No comments:

Post a Comment