summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-02 23:05:39 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:09:08 +0100
commit2f5ddef8a48b82e34a323773dabc8b481a281b24 (patch)
treebb35c46d2afb49cef37661130c1883981d179539 /dev-haskell/websockets
parentdev-haskell/clock: add 0.8.3 (diff)
downloadgentoo-2f5ddef8a48b82e34a323773dabc8b481a281b24.tar.gz
gentoo-2f5ddef8a48b82e34a323773dabc8b481a281b24.tar.bz2
gentoo-2f5ddef8a48b82e34a323773dabc8b481a281b24.zip
dev-haskell/websockets: new package, add 0.12.7.3
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/websockets')
-rw-r--r--dev-haskell/websockets/Manifest2
-rw-r--r--dev-haskell/websockets/metadata.xml8
-rw-r--r--dev-haskell/websockets/websockets-0.12.7.3.ebuild47
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-haskell/websockets/Manifest b/dev-haskell/websockets/Manifest
new file mode 100644
index 000000000000..09bcee8af898
--- /dev/null
+++ b/dev-haskell/websockets/Manifest
@@ -0,0 +1,2 @@
+DIST websockets-0.12.7.3-rev2.cabal 8237 BLAKE2B 2280cc2e730cb5ea9c0501740f6c7b80134bc51344a520ee1890e98482806eb231c3fd3b74b478b46214ed7437bcf29e4f9ee6068d4222dfdc02f15efa14dd13 SHA512 61c66dbade090e0b5da39a780d343213ae8f9a896b22b9d7d981805df736bd3545c0cc901fed29adb72facf22f383834795c9ba3ed02967a369b08a80a843abc
+DIST websockets-0.12.7.3.tar.gz 40077 BLAKE2B cd80eecd52ae3aa8ab67be7eb87d297ecd7b286d893962dfa2b6a1e2f07ac2a1573549b18a3e9bce956e041bdcf4b0eae79d045f31ffe12e27c041748cf31c6f SHA512 9eb9147ff7b545c6e3e859055ff0ca51c16d7e2f0e8603279409b3e74db7ec858c33e586d8f40e3059ac8acf96d8c7502e1b5fe298d3d7fa4cad507e13a2b300
diff --git a/dev-haskell/websockets/metadata.xml b/dev-haskell/websockets/metadata.xml
new file mode 100644
index 000000000000..937381521944
--- /dev/null
+++ b/dev-haskell/websockets/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://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/websockets/websockets-0.12.7.3.ebuild b/dev-haskell/websockets/websockets-0.12.7.3.ebuild
new file mode 100644
index 000000000000..d5f719c02f2d
--- /dev/null
+++ b/dev-haskell/websockets/websockets-0.12.7.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.7.1.1.9999
+#hackport: flags: example:examples
+
+CABAL_HACKAGE_REVISION=2
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="A sensible and clean way to write WebSocket-capable servers in Haskell"
+HOMEPAGE="https://jaspervdj.be/websockets"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="examples"
+
+RDEPEND=">=dev-haskell/async-2.2:=[profile?] <dev-haskell/async-2.3:=[profile?]
+ >=dev-haskell/attoparsec-0.10:=[profile?] <dev-haskell/attoparsec-0.15:=[profile?]
+ >=dev-haskell/base64-bytestring-0.1:=[profile?] <dev-haskell/base64-bytestring-1.3:=[profile?]
+ <dev-haskell/bytestring-builder-0.11:=[profile?]
+ >=dev-haskell/case-insensitive-0.3:=[profile?] <dev-haskell/case-insensitive-1.3:=[profile?]
+ >=dev-haskell/clock-0.8:=[profile?] <dev-haskell/clock-0.9:=[profile?]
+ >=dev-haskell/entropy-0.2.1:=[profile?] <dev-haskell/entropy-0.5:=[profile?]
+ >=dev-haskell/network-2.3:=[profile?] <dev-haskell/network-3.2:=[profile?]
+ >=dev-haskell/random-1.0:=[profile?] <dev-haskell/random-1.3:=[profile?]
+ >=dev-haskell/sha-1.5:=[profile?] <dev-haskell/sha-1.7:=[profile?]
+ >=dev-haskell/streaming-commons-0.1:=[profile?] <dev-haskell/streaming-commons-0.3:=[profile?]
+ >=dev-lang/ghc-8.4.3:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.2.0.1
+ test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.7
+ >=dev-haskell/quickcheck-2.7 <dev-haskell/quickcheck-2.15
+ >=dev-haskell/test-framework-0.4 <dev-haskell/test-framework-0.9
+ >=dev-haskell/test-framework-hunit-0.2 <dev-haskell/test-framework-hunit-0.4
+ >=dev-haskell/test-framework-quickcheck2-0.2 <dev-haskell/test-framework-quickcheck2-0.4 )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag examples example)
+}