packages feed

workflow-osx-0.0.0: workflow-osx.cabal

name: workflow-osx
version: 0.0.0
cabal-version: >=1.10
build-type: Simple
license: GPL-3
license-file: LICENSE
copyright: Copyright (C) 2015 Spiros M. Boosalis
maintainer: samboosalis@gmail.com
stability: experimental
homepage: https://github.com/sboosali/workflow-osx#readme
bug-reports: https://github.com/sboosali/workflow-osx/issues
synopsis: a "Desktop Workflow" monad with Objective-C bindings 
description:
 a \"Desktop Workflow\" monad with Objective-C bindings
 . 
 e.g. press some keys, click the mouse, get/set the clipboard
 . 
 see @Workflow.OSX@ for several examples
 .
 (if the build fails, see the <https://github.com/sboosali/workflow-osx#the-build README>)
 . 
 (this package is on hackage for convenience, but it's still a prerelease)

category: Accessibility, Apple, Automation, Bindings, Desktop, FFI 
author: Spiros Boosalis
tested-with: GHC ==7.10.1
extra-source-files:
    README.md
    cbits/objc_workflow.h
    cbits/Makefile

source-repository head
    type: git
    location: https://github.com/sboosali/workflow-osx

library
    
    if !os(osx)
        buildable: False

    exposed-modules:
        Workflow.OSX
        Workflow.OSX.Example
        Workflow.OSX.Types
        Workflow.OSX.Bindings
        Workflow.OSX.Bindings.Raw
        Workflow.OSX.Constants
        Workflow.OSX.Marshall
        Workflow.OSX.Execute
        Workflow.OSX.DSL
        Workflow.OSX.Extra 

    build-depends:
        http-types ==0.8.*, 
        bv ==0.3.*, 
        free ==4.12.*, 
        filepath ==1.4.*, 
        exceptions ==0.8.*, 

--        time -any, 

        mtl ==2.2.*, 
        transformers ==0.4.2.*, 
        bytestring ==0.10.*, 

        base ==4.8.*

    default-language: Haskell2010
    hs-source-dirs: sources
    ghc-options: -Wall
    default-extensions: AutoDeriveTypeable

-- the functionality I needed was found only in some deprecated APIs 
    cc-options: -Wno-deprecated-declarations
    ld-options: -ObjC
    frameworks: Cocoa
    c-sources:
        cbits/objc_workflow.m
    includes:
        cbits/objc_workflow.h
    install-includes:
        cbits/objc_workflow.h
    include-dirs: cbits

executable example
    main-is: Main.hs
    build-depends:
        workflow-osx ==0.0.0,
        base ==4.8.*
    default-language: Haskell2010
    hs-source-dirs: .
    ghc-options: -Wall