packages feed

eventlog-socket-0.1.0.0: eventlog-socket.cabal

cabal-version:      2.2
name:               eventlog-socket
version:            0.1.0.0
synopsis:           Stream GHC eventlog events to external processes
description:        Stream GHC eventlog events to external processes.
license:            BSD-3-Clause
license-file:       LICENSE
author:             Ben Gamari
maintainer:         ben@smart-cactus.org
copyright:          (c) 2018 Ben Gamari
category:           System
build-type:         Simple
Tested-With: GHC ==8.10.7 || ==9.0.2 || ==9.2.7 || ==9.4.4 || ==9.6.1
extra-source-files:
  ChangeLog.md
  include/eventlog_socket.h

source-repository head
  type:     git
  location: https://github.com/bgamari/ghc-eventlog-socket.git

library
  exposed-modules:  GHC.Eventlog.Socket
  other-extensions: CApiFFI

  -- Use base lower bound as proxy for GHC >= 8.10
  build-depends:    base >=4.14 && <5
  hs-source-dirs:   src
  default-language: Haskell2010
  c-sources:        cbits/eventlog_socket.c
  include-dirs:     include/

  -- comment me out while debugging
  -- https://github.com/haskell/cabal/issues/7635
  cc-options:      -DNDEBUG=1