diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/json | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/json')
-rw-r--r-- | dev-haskell/json/Manifest | 3 | ||||
-rw-r--r-- | dev-haskell/json/json-0.9.1.ebuild | 36 | ||||
-rw-r--r-- | dev-haskell/json/metadata.xml | 24 |
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-haskell/json/Manifest b/dev-haskell/json/Manifest new file mode 100644 index 000000000000..a2a042aef530 --- /dev/null +++ b/dev-haskell/json/Manifest @@ -0,0 +1,3 @@ +DIST json-0.9.1.tar.gz 22568 BLAKE2B b1c73771e24ccafb2019ffff61e392f2eec18768c4bdd09f1a5ee8275c92d8982cda3fab4d91222f726fae65324776c9e79ccd602dbd4ac9c435749d61a1015e SHA512 537257fed476683d0657c6474e465ca437e43e36b60ab132c0f584cece99a18d222ef9a33171543689ba5589434bc78cf2e0e5ff550804ff8969052d09430d57 +EBUILD json-0.9.1.ebuild 944 BLAKE2B 40f32a141903377f0c1784d0e873924858145db11cdbbd8269e8c16ec072fa5a4ff8934d13dc5bb6dfb26b8b056e6a41635b2e9cb98aa9530e64e6d241e9067e SHA512 1a189cef6f8949ee68dcc350002cae7862f26433044f7b62dae5fa0526214f90371c4156d8ce6be216fa82056d6908a289d0813faaaab5fe9d87e014da9aae94 +MISC metadata.xml 993 BLAKE2B 6cb77b20e36e3fb4aa09ed7f55f13b5199b4b152a2c7c625e7267b94016a2929b5064b6e38c3d0f6802cf5400dc802b4adc4e37d6de4823b2d02eea81459edbc SHA512 19724eb01ade1dac4b6e12271bfa698aab1ad16d4abc250114a4e17908ddf2bbbd788509ff5123745926bf229d0836e0046c3aa43b2ab6997088222c84a0b0a2 diff --git a/dev-haskell/json/json-0.9.1.ebuild b/dev-haskell/json/json-0.9.1.ebuild new file mode 100644 index 000000000000..613b26f8bb81 --- /dev/null +++ b/dev-haskell/json/json-0.9.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.4.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Support for serialising Haskell to and from JSON" +HOMEPAGE="http://hackage.haskell.org/package/json" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 ~ppc64 x86 ~amd64-linux" +IUSE="+generic mapdict +parsec +pretty" + +RDEPEND="dev-haskell/mtl:=[profile?] + dev-haskell/text:=[profile?] + >=dev-lang/ghc-7.4.1:= + generic? ( >=dev-haskell/syb-0.3.3:=[profile?] ) + parsec? ( dev-haskell/parsec:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag generic generic) \ + $(cabal_flag mapdict mapdict) \ + $(cabal_flag parsec parsec) \ + $(cabal_flag pretty pretty) +} diff --git a/dev-haskell/json/metadata.xml b/dev-haskell/json/metadata.xml new file mode 100644 index 000000000000..8bb7fe90bc27 --- /dev/null +++ b/dev-haskell/json/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <longdescription> + JSON (JavaScript Object Notation) is a lightweight data-interchange + format. It is easy for humans to read and write. It is easy for + machines to parse and generate. It is based on a subset of the + JavaScript Programming Language, Standard ECMA-262 3rd Edition - + December 1999. + + This library provides a parser and pretty printer for converting + between Haskell values and JSON. + </longdescription> + <use> + <flag name="generic">Add support for generic encoder (<pkg>dev-haskell/syb</pkg>)</flag> + <flag name="mapdict">Encode Haskell maps as JSON dicts</flag> + <flag name="parsec">Add support for parsing with Parsec</flag> + <flag name="pretty">Add support for using pretty printing combinators</flag> + </use> +</pkgmetadata> |