summaryrefslogtreecommitdiff
path: root/dev-haskell/stm/stm-2.5.0.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/stm/stm-2.5.0.1.ebuild')
-rw-r--r--dev-haskell/stm/stm-2.5.0.1.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-haskell/stm/stm-2.5.0.1.ebuild b/dev-haskell/stm/stm-2.5.0.1.ebuild
new file mode 100644
index 000000000000..a8c6fb9842f8
--- /dev/null
+++ b/dev-haskell/stm/stm-2.5.0.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.6.7.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Software Transactional Memory"
+HOMEPAGE="https://wiki.haskell.org/Software_transactional_memory"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+# keep in sync with ghc-8.10.5
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND=">=dev-lang/ghc-8.4.3:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.2.0.1
+"
+
+# ghc-9.0.1 and ghc-9.0.2 actually bundles stm-2.5.0.0, but downgrades can be messy.
+# Mark as bundled as a workaround.
+CABAL_CORE_LIB_GHC_PV="PM:8.10.5-r1 PM:8.10.6 PM:8.10.7 PM:9.0.1-r1 PM:9.0.2 PM:9999"