# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 # ebuild generated by hackport 0.7.3.0 # NOTE: These flags may be needed for macOS #hackport: flags: -dext,-kext CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="KMonad is an advanced tool that lets you infinitely customize and extend the functionalities of almost any keyboard." HOMEPAGE="https://github.com/kmonad/kmonad" SRC_URI="https://github.com/kmonad/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" CABAL_FILE="${S}/${PN}.cabal" LICENSE="MIT" SLOT="0/${PV}" KEYWORDS="~amd64" RDEPEND="dev-haskell/cereal:=[profile?] dev-haskell/lens:=[profile?] dev-haskell/megaparsec:=[profile?] dev-haskell/optparse-applicative:=[profile?] dev-haskell/resourcet:=[profile?] dev-haskell/rio:=[profile?] dev-haskell/unliftio:=[profile?] >=dev-lang/ghc-8.4.3:= " DEPEND="${RDEPEND} >=dev-haskell/cabal-2.2.0.1 test? ( dev-haskell/hspec ) " src_configure() { haskell-cabal_src_configure \ --flag=-dext \ --flag=-kext }