# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortGroup haskell_stack 1.0
github.setup gibiansky IHaskell ac0882d
description A Haskell kernel for IPython.
IHaskell is a kernel for the Jupyter project, which allows you to \
use Haskell inside Jupyter frontends (including the console and \
notebook). For a tour of some IHaskell features, check out the \
http://nbviewer.ipython.org/github/gibiansky/IHaskell/blob/master/notebooks/IHaskell.ipynb. More \
example notebooks are available on the wiki at \
https://github.com/gibiansky/IHaskell/wiki. The wiki also has more \
extensive documentation of IHaskell features.
checksums rmd160 47cf8fed7674b0e2421019ff4c813ee4eea93882 \
sha256 c6e6c9a7d71ba6349027f1fb818608f8355acafe6fa7cbe57265ec9951a5ddb4 \
# use these to specify python versions, python3 required
set python3_version_nickname \
[join [lrange [split ${python3_version} .] 0 1] {}]
# See https://github.com/gibiansky/IHaskell#mac,
# https://github.com/gibiansky/IHaskell/blob/master/requirements.txt
path:lib/pkgconfig/pango.pc:pango \
port:python${python3_version_nickname} \
port:py${python3_version_nickname}-cairo \
port:py${python3_version_nickname}-ipykernel \
port:py${python3_version_nickname}-ipywidgets \
port:py${python3_version_nickname}-jupyter \
port:py${python3_version_nickname}-jupyter_client \
port:py${python3_version_nickname}-jupyter_core \
port:py${python3_version_nickname}-magic \
port:py${python3_version_nickname}-nbformat \
port:py${python3_version_nickname}-pkgconfig \
port:py${python3_version_nickname}-widgetsnbextension \
haskell_stack.system_ghc \
# relative paths to ${prefix}
set jupyter_dir share/jupyter