summaryrefslogtreecommitdiff
path: root/dev-haskell/servant
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-23 02:48:52 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-23 02:48:52 +0100
commitfd70f5e3ed54d5e013c11a3f3e632e80838171d0 (patch)
treec6bf0dac8239e644ccc09b184e4eb9cca9701dcf /dev-haskell/servant
parent5deadca7219297a3c1f90eca00544a00e33efdbc (diff)
gentoo auto-resync : 23:07:2022 - 02:48:51
Diffstat (limited to 'dev-haskell/servant')
-rw-r--r--dev-haskell/servant/Manifest4
-rw-r--r--dev-haskell/servant/metadata.xml8
-rw-r--r--dev-haskell/servant/servant-0.19.ebuild60
3 files changed, 72 insertions, 0 deletions
diff --git a/dev-haskell/servant/Manifest b/dev-haskell/servant/Manifest
new file mode 100644
index 000000000000..a2f5ee2b29f6
--- /dev/null
+++ b/dev-haskell/servant/Manifest
@@ -0,0 +1,4 @@
+DIST servant-0.19-rev4.cabal 5562 BLAKE2B 317773458ecb9ffae30c5f16a478d3587db7e5dec1f578e670af51e3a5b73d5212f08cea18a7826b337d54266e3bb68aaf7ef0097b0c684748db69a2fb924ec3 SHA512 6d9c75d7b598f57a523c4e4c8b3cf5c3fa14cd542007a178cca4b206708a07797e689a82169deba9a76ccf670ec51836ad61a8cef1212c7f3b5a056b12e91864
+DIST servant-0.19.tar.gz 54480 BLAKE2B 0066fc21e6bcc1f572b20048e6fee85e093b15a292d4916fc0de39462f4ac5292aab1007eecdfd553ea37bcb4ce93f24f8180d9efe0c1a0be8a729971e36db6c SHA512 5f7a7a03e7cb1f729cf4265a767006b4d65dfadea878540df3ffb8347e1d2ff5d8faaa58a5e032535a489fd45e1da81dc9424c2d931b6d26adf156ee59f1c003
+EBUILD servant-0.19.ebuild 2614 BLAKE2B 40f85c7715e88bacca8a954b35ccdc8ac0a2c8ee53166c8d3f545a28a43681554723e283c58c3de8a24a6d7fe3879fe936e39bd79056f277b52fbdc8a645def4 SHA512 d2d2aa398e72a987365af9fcc33438d5dc0af5456a9d69cce5ed97d90cc76af7318bb968936184a9bbaf159a9de0de6d726e227c3e28a6e206947a0b8ca0fb7c
+MISC metadata.xml 249 BLAKE2B 84b809c265ff2a09d1f06c66d4797652ff4c64205d94323e07333ae0fbddcfb8c58d0176a8cc52bd37e9353371d987b9b473b9747cb082e1c2871ed80fcfa144 SHA512 ce055b41ff1c10209e88579fe21ce16550be7e9b21f87724564f06430aa6f478974f186a10c8ff7e92398f534c09109aeed57eae1c6d2b56b5c99ebfb64a0015
diff --git a/dev-haskell/servant/metadata.xml b/dev-haskell/servant/metadata.xml
new file mode 100644
index 000000000000..b7878815d80d
--- /dev/null
+++ b/dev-haskell/servant/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/dev-haskell/servant/servant-0.19.ebuild b/dev-haskell/servant/servant-0.19.ebuild
new file mode 100644
index 000000000000..c0c70841aaf8
--- /dev/null
+++ b/dev-haskell/servant/servant-0.19.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.7.1.1.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+CABAL_HACKAGE_REVISION="4"
+inherit haskell-cabal
+
+CABAL_FILE="${S}/${PN}.cabal"
+CABAL_DISTFILE="${P}-rev${CABAL_HACKAGE_REVISION}.cabal"
+
+DESCRIPTION="A family of combinators for defining webservices APIs"
+HOMEPAGE="https://docs.servant.dev/"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz
+ https://hackage.haskell.org/package/${P}/revision/${CABAL_HACKAGE_REVISION}.cabal
+ -> ${CABAL_DISTFILE}"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+RDEPEND=">=dev-haskell/aeson-1.4.1.0:=[profile?] <dev-haskell/aeson-3:=[profile?]
+ >=dev-haskell/attoparsec-0.13.2.2:=[profile?] <dev-haskell/attoparsec-0.15:=[profile?]
+ >=dev-haskell/base-compat-0.10.5:=[profile?] <dev-haskell/base-compat-0.13:=[profile?]
+ >=dev-haskell/bifunctors-5.5.3:=[profile?] <dev-haskell/bifunctors-5.6:=[profile?]
+ >=dev-haskell/case-insensitive-1.2.0.11:=[profile?] <dev-haskell/case-insensitive-1.3:=[profile?]
+ >=dev-haskell/constraints-0.2:=[profile?]
+ >=dev-haskell/http-api-data-0.4.1:=[profile?] <dev-haskell/http-api-data-0.4.4:=[profile?]
+ >=dev-haskell/http-media-0.7.1.3:=[profile?] <dev-haskell/http-media-0.9:=[profile?]
+ >=dev-haskell/http-types-0.12.2:=[profile?] <dev-haskell/http-types-0.13:=[profile?]
+ >=dev-haskell/mmorph-1.1.2:=[profile?] <dev-haskell/mmorph-1.3:=[profile?]
+ >=dev-haskell/network-uri-2.6.1.0:=[profile?] <dev-haskell/network-uri-2.7:=[profile?]
+ >=dev-haskell/quickcheck-2.12.6.1:2=[profile?] <dev-haskell/quickcheck-2.15:2=[profile?]
+ >=dev-haskell/singleton-bool-0.1.4:=[profile?] <dev-haskell/singleton-bool-0.1.7:=[profile?]
+ >=dev-haskell/sop-core-0.4.0.0:=[profile?] <dev-haskell/sop-core-0.6:=[profile?]
+ >=dev-haskell/string-conversions-0.4.0.1:=[profile?] <dev-haskell/string-conversions-0.5:=[profile?]
+ >=dev-haskell/tagged-0.8.6:=[profile?] <dev-haskell/tagged-0.9:=[profile?]
+ >=dev-haskell/vault-0.3.1.2:=[profile?] <dev-haskell/vault-0.4:=[profile?]
+ >=dev-lang/ghc-8.4.3:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.2.0.1
+ test? ( >=dev-haskell/hspec-2.6.0 <dev-haskell/hspec-2.10
+ >=dev-haskell/quickcheck-instances-0.3.19 <dev-haskell/quickcheck-instances-0.4 )
+"
+BDEPEND="app-text/dos2unix"
+
+src_prepare() {
+ # pull revised cabal from upstream
+ cp "${DISTDIR}/${CABAL_DISTFILE}" "${CABAL_FILE}" || die
+
+ # Convert to unix line endings
+ dos2unix "${CABAL_FILE}" || die
+
+ # Apply patches *after* pulling the revised cabal
+ default
+}