PORTNAME=	ormolu
DISTVERSION=	0.7.7.0
CATEGORIES=	devel haskell

MAINTAINER=	haskell@FreeBSD.org
COMMENT=	Formatter for Haskell source code
WWW=		https://github.com/tweag/ormolu/

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE.md

USES=		cabal

USE_CABAL=	Cabal-syntax-3.12.1.0 \
		Diff-0.5_1 \
		MemoTrie-0.6.11 \
		alex-3.5.1.0 \
		ansi-terminal-1.1.1 \
		ansi-terminal-types-1.1 \
		case-insensitive-1.2.1.0 \
		choice-0.2.4.1 \
		colour-2.3.6 \
		file-embed-0.0.16.0 \
		ghc-lib-parser-9.10.1.20240511 \
		happy-1.20.1.1 \
		hashable-1.5.0.0 \
		integer-logarithms-1.0.3.1_6 \
		megaparsec-9.6.1 \
		newtype-generics-0.6.2_4 \
		optparse-applicative-0.18.1.0 \
		os-string-2.0.6 \
		parsec-3.1.17.0_1 \
		parser-combinators-1.3.0_1 \
		prettyprinter-1.7.1 \
		prettyprinter-ansi-terminal-1.1.3 \
		primitive-0.9.0.0_1 \
		scientific-0.3.8.0_1 \
		syb-0.7.2.4 \
		text-2.1.1_1 \
		th-compat-0.1.5_2 \
		th-env-0.1.1 \
		transformers-compat-0.7.2

.include <bsd.port.mk>
