yoga-0.0.0.2: yoga.cabal
-- Initial yoga.cabal generated by cabal init. For further documentation,
-- see http://haskell.org/cabal/users-guide/
name: yoga
version: 0.0.0.2
synopsis: Bindings to Facebook's Yoga layout library
description: The <https://facebook.github.com/yoga Yoga> library from
<https://facebook.github.com/ Facebook> is a fast layout engine
written in C that implements flexbox. There are two
main ways to interface with these bindings. The high-level
bindings are stored in the Yoga module and provide a more
Haskell-like interface to the library. The other option is to
directly use the C-level bindings in "Bindings.Yoga". If you do
so you do so at your own risk (i.e. you must manage your own
memory).
The examples are not built nor included by default. Please
refer to the source tarball for examples on how to use this
library.
These bindings are not affiliated with Facebook in any way,
and have been developed separately for the sole purpose of
interfacing with their open source library.
license: BSD3
license-file: LICENSE
author: Pavel Krajcevski
maintainer: Krajcevski@gmail.com
copyright: 2017-present
category: Graphics
build-type: Simple
cabal-version: >=1.10
source-repository head
type: git
location: https://www.github.com/Mokosha/yoga-hs.git
library
default-language: Haskell2010
hs-source-dirs: lib
ghc-options: -Wall
if impl(ghc >= 8.0)
ghc-options: -Wno-redundant-constraints
if impl(ghc >= 6.8)
ghc-options: -fwarn-tabs
build-tools: hsc2hs
include-dirs: yoga/
install-includes: YGEnums.h
YGMacros.h
YGNodePrint.h
Yoga.h
Yoga-internal.h
c-sources: yoga/YGNodePrint.cpp
yoga/Yoga.cpp
yoga/YGEnums.cpp
cc-options: -Dnullptr=NULL
extra-libraries: stdc++
exposed-modules:
Bindings.Yoga
Yoga
other-modules:
Bindings.Yoga.Enums
build-depends:
base >= 4 && < 6,
ieee754 >= 0.7,
bindings-DSL
flag examples
description: Build examples
default: False
executable yoga-example
default-language: Haskell2010
main-is: Main.hs
hs-source-dirs: examples
ghc-options: -Wall -rtsopts -O3
build-depends: base > 4,
yoga
if flag(examples)
buildable: True
else
buildable: False