From 25c402180301a836a749139ca57cb0f7bbe24300 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 31 Mar 2019 22:29:02 +0800 Subject: [PATCH] dev-haskell/ghcup: initial import --- metadata/repository_mask.conf | 1 + .../dev-haskell/ghcup/ghcup-scm.exheres-0 | 38 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 packages/dev-haskell/ghcup/ghcup-scm.exheres-0 diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf index bcab4976..102a26a0 100644 --- a/metadata/repository_mask.conf +++ b/metadata/repository_mask.conf @@ -1,5 +1,6 @@ ( app-editors/neovim-gtk[~scm] + dev-haskell/ghcup[~scm] dev-lang/fsharp[~scm] dev-lang/fstar[~scm] dev-python/pytype[~scm] diff --git a/packages/dev-haskell/ghcup/ghcup-scm.exheres-0 b/packages/dev-haskell/ghcup/ghcup-scm.exheres-0 new file mode 100644 index 00000000..20295b00 --- /dev/null +++ b/packages/dev-haskell/ghcup/ghcup-scm.exheres-0 @@ -0,0 +1,38 @@ +# Copyright 2019 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require github [ user=haskell ] + +SUMMARY="Painless installation of GHC toolchain" +HOMEPAGE="https://www.haskell.org/ghcup/ ${HOMEPAGE}" + +LICENCES="BSD-3" +SLOT="0" +PLATFORMS="~amd64 ~x86" + + +DEPENDENCIES=" + run: + app-arch/gzip + app-arch/tar + app-arch/xz + net-misc/curl + sys-apps/coreutils + virtual/awk + suggestion: + net-misc/wget [[ description = [ alternative downloader ] ]] + recommendation: + ( + dev-lang/llvm[>=2.7] + dev-lang/perl:*[>=5.6.1] + dev-libs/gmp[>=5] + dev-libs/libffi + ) [[ *description = [ Dependency for GHC ] *group-name = [ ghc-deps ] ]] +" + +BUGS_TO="hasufell@posteo.de" + +src_install() { + dobin ghcup + emagicdocs +}