diff --git a/dev-haskell/pretty-simple/Manifest b/dev-haskell/pretty-simple/Manifest new file mode 100644 index 0000000000000..d00deadb22431 --- /dev/null +++ b/dev-haskell/pretty-simple/Manifest @@ -0,0 +1 @@ +DIST pretty-simple-4.1.3.0.tar.gz 40919 BLAKE2B ee1acc32fe18c72088a86930cf293ca353910f339cbbfd60b6470847549cdde364e320d952e7309992ad67cfa92cf25e2435b92da4aba264063c7f3210ba4959 SHA512 c65206791ea9ff0da4b04cb6db6ef14d57ec52c1506d6292307950c667dcec1b3298762ffd09b5b0925a3b77c7d6760229cda539236343844f7233ed7dee97a3 diff --git a/dev-haskell/pretty-simple/metadata.xml b/dev-haskell/pretty-simple/metadata.xml new file mode 100644 index 0000000000000..5f3fe649f985b --- /dev/null +++ b/dev-haskell/pretty-simple/metadata.xml @@ -0,0 +1,15 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + Build an small command line program that pretty-print anything from stdin. + + + pretty-simple + cdepillabout/pretty-simple + + diff --git a/dev-haskell/pretty-simple/pretty-simple-4.1.3.0.ebuild b/dev-haskell/pretty-simple/pretty-simple-4.1.3.0.ebuild new file mode 100644 index 0000000000000..af1a1dd5eee44 --- /dev/null +++ b/dev-haskell/pretty-simple/pretty-simple-4.1.3.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.9.0.0.9999 +#hackport: flags: buildexample:examples,buildexe:executable + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="pretty printer for data types with a 'Show' instance" +HOMEPAGE="https://github.com/cdepillabout/pretty-simple" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="examples executable" + +RDEPEND=">=dev-haskell/prettyprinter-1.7.0:=[profile?] + >=dev-haskell/prettyprinter-ansi-terminal-1.1.2:=[profile?] + >=dev-haskell/text-1.2:=[profile?] + >=dev-lang/ghc-9.0.2:= + examples? ( dev-haskell/aeson:=[profile?] ) + executable? ( dev-haskell/optparse-applicative:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag examples buildexample) \ + $(cabal_flag executable buildexe) +}