devel/hs-ormolu: New port: formatter for Haskell source code
PR: 258137
This commit is contained in:
parent
ac336b431d
commit
6c8827c65d
4 changed files with 71 additions and 0 deletions
|
@ -964,6 +964,7 @@
|
|||
SUBDIR += hs-hpack
|
||||
SUBDIR += hs-hspec-discover
|
||||
SUBDIR += hs-mueval
|
||||
SUBDIR += hs-ormolu
|
||||
SUBDIR += hs-profiteur
|
||||
SUBDIR += hs-shake
|
||||
SUBDIR += hs-spago
|
||||
|
|
27
devel/hs-ormolu/Makefile
Executable file
27
devel/hs-ormolu/Makefile
Executable file
|
@ -0,0 +1,27 @@
|
|||
PORTNAME= ormolu
|
||||
PORTVERSION= 0.3.0.0
|
||||
CATEGORIES= devel haskell
|
||||
|
||||
MAINTAINER= haskell@FreeBSD.org
|
||||
COMMENT= Formatter for Haskell source code
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
USES= cabal
|
||||
|
||||
USE_CABAL= Diff-0.4.0 \
|
||||
alex-3.2.6 \
|
||||
ansi-terminal-0.11 \
|
||||
ansi-wl-pprint-0.6.9_2 \
|
||||
base-compat-0.11.2 \
|
||||
Cabal-3.4.0.0 \
|
||||
colour-2.3.6 \
|
||||
dlist-1.0 \
|
||||
ghc-lib-parser-9.0.1.20210324 \
|
||||
gitrev-1.3.1 \
|
||||
happy-1.20.0 \
|
||||
optparse-applicative-0.16.1.0_1 \
|
||||
syb-0.7.2.1 \
|
||||
transformers-compat-0.7
|
||||
|
||||
.include <bsd.port.mk>
|
35
devel/hs-ormolu/distinfo
Executable file
35
devel/hs-ormolu/distinfo
Executable file
|
@ -0,0 +1,35 @@
|
|||
TIMESTAMP = 1631622774
|
||||
SHA256 (cabal/ormolu-0.3.0.0.tar.gz) = 5bee1f0ede983593b27f5da9dcf0f260d811180035da1d366b0a477627476d1c
|
||||
SIZE (cabal/ormolu-0.3.0.0.tar.gz) = 137516
|
||||
SHA256 (cabal/Cabal-3.4.0.0/Cabal-3.4.0.0.tar.gz) = b879998a96763b30fd8a1a5f4e94923dcefa73c4da700813f2884f47026541fd
|
||||
SIZE (cabal/Cabal-3.4.0.0/Cabal-3.4.0.0.tar.gz) = 836699
|
||||
SHA256 (cabal/Diff-0.4.0/Diff-0.4.0.tar.gz) = 7290ac098ad8b4748b9c10e494cc85ba54af688226ae69a465aa7b4c73f149c7
|
||||
SIZE (cabal/Diff-0.4.0/Diff-0.4.0.tar.gz) = 8065
|
||||
SHA256 (cabal/alex-3.2.6/alex-3.2.6.tar.gz) = 91aa08c1d3312125fbf4284815189299bbb0be34421ab963b1f2ae06eccc5410
|
||||
SIZE (cabal/alex-3.2.6/alex-3.2.6.tar.gz) = 108832
|
||||
SHA256 (cabal/ansi-terminal-0.11/ansi-terminal-0.11.tar.gz) = c6611b9e51add41db3f79eac30066c06b33a6ca2a09e586b4b361d7f98303793
|
||||
SIZE (cabal/ansi-terminal-0.11/ansi-terminal-0.11.tar.gz) = 36074
|
||||
SHA256 (cabal/ansi-wl-pprint-0.6.9/ansi-wl-pprint-0.6.9.tar.gz) = a7b2e8e7cd3f02f2954e8b17dc60a0ccd889f49e2068ebb15abfa1d42f7a4eac
|
||||
SIZE (cabal/ansi-wl-pprint-0.6.9/ansi-wl-pprint-0.6.9.tar.gz) = 16723
|
||||
SHA256 (cabal/ansi-wl-pprint-0.6.9/revision/2.cabal) = 20d30674f137d43aa0279c2c2cc5e45a5f1c3c57e301852494906158b6313bf7
|
||||
SIZE (cabal/ansi-wl-pprint-0.6.9/revision/2.cabal) = 2388
|
||||
SHA256 (cabal/base-compat-0.11.2/base-compat-0.11.2.tar.gz) = 53a6b5145442fba5a4bad6db2bcdede17f164642b48bc39b95015422a39adbdb
|
||||
SIZE (cabal/base-compat-0.11.2/base-compat-0.11.2.tar.gz) = 34625
|
||||
SHA256 (cabal/colour-2.3.6/colour-2.3.6.tar.gz) = 2cd35dcd6944a5abc9f108a5eb5ee564b6b1fa98a9ec79cefcc20b588991f871
|
||||
SIZE (cabal/colour-2.3.6/colour-2.3.6.tar.gz) = 20675
|
||||
SHA256 (cabal/dlist-1.0/dlist-1.0.tar.gz) = 173d637328bb173fcc365f30d29ff4a94292a1e0e5558aeb3dfc11de81510115
|
||||
SIZE (cabal/dlist-1.0/dlist-1.0.tar.gz) = 18667
|
||||
SHA256 (cabal/ghc-lib-parser-9.0.1.20210324/ghc-lib-parser-9.0.1.20210324.tar.gz) = 15637bfc87767cbd898fac373d704d049e612e5e752a0a0d7cd0a78c3e0582c2
|
||||
SIZE (cabal/ghc-lib-parser-9.0.1.20210324/ghc-lib-parser-9.0.1.20210324.tar.gz) = 1824045
|
||||
SHA256 (cabal/gitrev-1.3.1/gitrev-1.3.1.tar.gz) = a89964db24f56727b0e7b10c98fe7c116d721d8c46f52d6e77088669aaa38332
|
||||
SIZE (cabal/gitrev-1.3.1/gitrev-1.3.1.tar.gz) = 3756
|
||||
SHA256 (cabal/happy-1.20.0/happy-1.20.0.tar.gz) = 3b1d3a8f93a2723b554d9f07b2cd136be1a7b2fcab1855b12b7aab5cbac8868c
|
||||
SIZE (cabal/happy-1.20.0/happy-1.20.0.tar.gz) = 184515
|
||||
SHA256 (cabal/optparse-applicative-0.16.1.0/optparse-applicative-0.16.1.0.tar.gz) = 6205278362f333c52256b9dd3edf5f8fe0f84f00cb9ee000291089f6eaccd69a
|
||||
SIZE (cabal/optparse-applicative-0.16.1.0/optparse-applicative-0.16.1.0.tar.gz) = 58315
|
||||
SHA256 (cabal/optparse-applicative-0.16.1.0/revision/1.cabal) = 16ebd7054b2265c1aad16c1d19dc503695fbfc67b35203d9952fd577d08c0110
|
||||
SIZE (cabal/optparse-applicative-0.16.1.0/revision/1.cabal) = 4982
|
||||
SHA256 (cabal/syb-0.7.2.1/syb-0.7.2.1.tar.gz) = 1807c66f77e66786739387f0ae9f16d150d1cfa9d626afcb729f0e9b442a8d96
|
||||
SIZE (cabal/syb-0.7.2.1/syb-0.7.2.1.tar.gz) = 39768
|
||||
SHA256 (cabal/transformers-compat-0.7/transformers-compat-0.7.tar.gz) = a4ad731dd7515ebd7ffd60993dcbd10a4f5bea79daebfc212d7dc580f370a98f
|
||||
SIZE (cabal/transformers-compat-0.7/transformers-compat-0.7.tar.gz) = 42688
|
8
devel/hs-ormolu/pkg-descr
Normal file
8
devel/hs-ormolu/pkg-descr
Normal file
|
@ -0,0 +1,8 @@
|
|||
Ormolu is a formatter for Haskell source aiming to write code in such
|
||||
a way so it's easy to modify and maintain. It implements one ?true?
|
||||
formatting style which admits no configuration, result in minimal
|
||||
diffs and is compatible with modern dialects of Haskell. Ormolu is
|
||||
well-tested and robust so that the formatter can be used in large
|
||||
projects.
|
||||
|
||||
WWW: https://github.com/tweag/ormolu
|
Loading…
Reference in a new issue