~alcinnz/CatTrap

ref: 8fb3f54afe3a41d83f48c35ea10a02daa1d250c4 CatTrap/cattrap.cabal -rw-r--r-- 3.9 KiB
8fb3f54a — Adrian Cochrane Integrate FlexBox layout 1 year, 5 days ago
                                                                                
09970dfc Adrian Cochrane
66067a7c Adrian Cochrane
09970dfc Adrian Cochrane
52bc8445 Adrian Cochrane
09970dfc Adrian Cochrane
52bc8445 Adrian Cochrane
09970dfc Adrian Cochrane
272852e8 Adrian Cochrane
ddef83e3 Adrian Cochrane
a226a881 Adrian Cochrane
3a25ee5a Adrian Cochrane
5a9105c7 Adrian Cochrane
3a25ee5a Adrian Cochrane
09970dfc Adrian Cochrane
66067a7c Adrian Cochrane
156ac2ae Adrian Cochrane
66067a7c Adrian Cochrane
09970dfc Adrian Cochrane
eae2c200 Adrian Cochrane
09970dfc Adrian Cochrane
66067a7c Adrian Cochrane
09970dfc Adrian Cochrane
3dce4d79 Adrian Cochrane
9478d630 Adrian Cochrane
66067a7c Adrian Cochrane
9478d630 Adrian Cochrane
437eeb71 Adrian Cochrane
156ac2ae Adrian Cochrane
66067a7c Adrian Cochrane
156ac2ae Adrian Cochrane
3dce4d79 Adrian Cochrane
52bc8445 Adrian Cochrane
3a25ee5a Adrian Cochrane
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
-- Initial cattrap.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                cattrap
version:             0.4.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,
                        Graphics.Layout.Grid.Table,
                        Graphics.Layout.Flex, Graphics.Layout.Flex.CSS
  other-modules:        Graphics.Layout.CSS.Parse
  -- other-extensions:
  build-depends:       base >=4.12 && <5, containers >= 0.6 && < 1, parallel >= 3 && <4,
                        css-syntax >= 0.1 && < 0.2, scientific >= 0.3 && < 1, text >= 2.0.2,
                        deepseq >= 1.4 && <2, stylist-traits >= 0.1.3.0 && < 1,
                        fontconfig-pure >= 0.2 && < 0.5,
                        harfbuzz-pure >= 1.0.3.2 && < 1.1, bytestring >= 0.11 && <1,
                        balkon >= 1.2 && <2, unordered-containers >= 0.2 && <1,
                        data-array-byte >= 0.1 && < 0.2
  -- 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 && <5, cattrap, text, css-syntax, xml >= 1.3 && < 2,
                        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 && <5, cattrap, text>=2.0.2, css-syntax,
                        stylist-traits , stylist>=2.7.0.1 && <3,
                        hurl-xml >= 0.2 && < 1, hurl >= 2.3 && < 3,
                        sdl2 >= 2.5.4 && < 2.6, containers, network-uri >=2.6 && <3,
                        xml-conduit >= 1.8 && < 2, directory >= 1.3 && < 2, xml-conduit-stylist,
                        bytestring, file-embed >= 0.0.15 && < 0.1, deepseq, fontconfig-pure
  hs-source-dirs:      app
  default-language:    Haskell2010
  ghc-options:	-threaded

executable cattrap-stylist
  main-is:             Integration2.hs
  -- other-modules:
  -- other-extensions:
  build-depends:       base >=4.12 && <5, cattrap, text>=2.0.2 && <3, css-syntax,
                        stylist-traits, stylist>=2.7.0.1 && <3, network-uri,
                        html-conduit >=1.3 && <2, xml-conduit >= 1.8 && < 2,
                        xml-conduit-stylist >= 3 && < 4, deepseq, fontconfig-pure
  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,
                        balkon, harfbuzz-pure