hexchat-0.0.2.0: hexchat.cabal
name: hexchat
version: 0.0.2.0
synopsis: Haskell scripting interface for HexChat
description:
This package builds a shared object ready for loading into HexChat, that will compile and interpret scripts written in Haskell; and also a Haskell library that said scripts should import and use to interface with HexChat.
.
At the moment the scripting interface is not finalized and may (and will) change in a future.
.
At the moment only Linux is supported.
.
For instructions on how to write a script, see the 'HexChat' module.
.
The plugin understands the classic @/load@, @/unload@, @/reload@ commands, as well as:
.
> /hs load <filename>
> /hs unload <filename>
> /hs reload <filename>
> /hs list
.
To automatically load the plugin symlink or copy @~\/.cabal\/lib\/libhexchat-haskell.so@ (or @\/usr\/local\/lib\/libhexchat-haskell.so@) to @~\/.config\/hexchat\/addons\/@ (or @\/usr\/lib\/hexchat\/plugins\/@).
license: MIT
license-file: LICENSE
author: mniip
maintainer: mniip@mniip.com
copyright: (C) 2017 mniip
homepage: https://github.com/mniip/hexchat-haskell
category: System
build-type: Simple
cabal-version: >=2.0
library
exposed-modules: HexChat, HexChat.Internal
other-extensions: CApiFFI
build-depends: base >=4.10 && <4.11, containers >=0.5 && <0.6
default-language: Haskell2010
foreign-library hexchat-haskell
type: native-shared
hs-source-dirs: plugin
c-sources: plugin/plugin.c
other-modules: HexChat.Linker, Paths_hexchat
other-extensions: CApiFFI
build-depends: base >=4.10 && <4.11, deepseq >= 1.0 && < 1.5, ghc-prim >=0.5 && <0.6, ghc-paths >=0.1 && <0.2, ghc >= 8.0 && < 8.3, ghci >= 8.0 && < 8.3, hexchat == 0.0.2.0
default-language: Haskell2010