-- Initial cattrap.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: cattrap
version: 0.2.0.0
synopsis: Lays out boxes according to the CSS Box Model.
description: Computes where to place e.g. images, paragraphs, containers, tables, etc onscreen given desired amounts of whitespace.
homepage: https://argonaut-constellation.org/
license: GPL-3
license-file: LICENSE
author: Adrian Cochrane
maintainer: ~alcinnz/cattrap@todo.argonaut-constellation.org
bug-reports: https://todo.argonaut-constellation.org/~alcinnz/cattrap
copyright: Adrian Cochrane 2023
category: Graphics
build-type: Simple
extra-source-files: CHANGELOG.md
cabal-version: >=1.10
source-repository head
type: git
location: https://git.argonaut-constellation.org/~alcinnz/cattrap
library
exposed-modules: Graphics.Layout, Graphics.Layout.CSS, Graphics.Layout.Flow,
Graphics.Layout.Grid, Graphics.Layout.Grid.CSS,
Graphics.Layout.Box, Graphics.Layout.Arithmetic,
Graphics.Layout.CSS.Length, Graphics.Layout.CSS.Font,
Graphics.Layout.Inline, Graphics.Layout.Inline.CSS
other-modules: Graphics.Layout.CSS.Parse
-- other-extensions:
build-depends: base >=4.12 && <4.16, containers,
css-syntax, scientific, text,
stylist-traits >= 0.1.3.0 && < 1,
fontconfig-pure >= 0.2 && < 0.3,
harfbuzz-pure >= 1.0.3.2 && < 1.1, bytestring,
balkon >= 1.2 && <2, unordered-containers
-- hs-source-dirs:
default-language: Haskell2010
ghc-options: -Wincomplete-patterns
executable cattrap
main-is: Main.hs
-- other-modules:
-- other-extensions:
build-depends: base >=4.12 && <4.16, cattrap, text, css-syntax, xml, stylist-traits, sdl2 >= 2.5.4
hs-source-dirs: app
default-language: Haskell2010
--executable cattrap-argonaut
-- main-is: Integration.hs
-- -- other-modules:
-- -- other-extensions:
-- build-depends: base >=4.12 && <4.16, cattrap, text, css-syntax, stylist-traits, stylist, hurl-xml, hurl, sdl2 >= 2.5.4
-- hs-source-dirs: app
-- default-language: Haskell2010
test-suite test-cattrap
hs-source-dirs: test
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: Test.hs
build-depends: base, cattrap, hspec >= 2 && < 3, QuickCheck >= 2 && < 3,
css-syntax, stylist-traits, unordered-containers