summaryrefslogtreecommitdiffstats
path: root/pager.cabal
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-02-07 02:30:41 +0100
committertv <tv@krebsco.de>2023-02-07 02:30:41 +0100
commitf28825e471e206bcb7e6dc8e4874c2b771f7d24c (patch)
treec77f0bc9dd178c74f883f0c89d0ebd67366d381b /pager.cabal
parent3bd9c00812d91ade512e71a9f8e0f5b8917c3fa7 (diff)
move Graphics.* & co. to lib
Diffstat (limited to 'pager.cabal')
-rw-r--r--pager.cabal25
1 files changed, 18 insertions, 7 deletions
diff --git a/pager.cabal b/pager.cabal
index 418727e..17bb744 100644
--- a/pager.cabal
+++ b/pager.cabal
@@ -29,6 +29,7 @@ executable pager
, data-default
, hack
, optparse-applicative
+ , pager
, probability
, scanner
, speculate
@@ -38,17 +39,27 @@ executable pager
, unix
other-modules: Data.List.Extra
, Data.Monoid.Extra
- , Data.Text.Encoding.Extra
, Data.Text.Extra
- , Foreign.C.String.Extra
- , Graphics.X11.Extra
- , Graphics.X11.Xlib.Extra
- , Graphics.X11.Xlib.Atom.Extra
- , Graphics.X11.Xlib.Display.Extra
- , Graphics.X11.Xlib.Extras.Extra
, Hack.Buffer.Extra
, Much.Screen
, Pager.Sixelerator
, Pager.Types
, Sixel
, State
+
+library
+ build-depends: base
+ , X11
+ , bytestring
+ , text
+ default-language: Haskell2010
+ exposed-modules:
+ Data.Text.Encoding.Extra
+ , Foreign.C.String.Extra
+ , Graphics.X11.Extra
+ , Graphics.X11.Xlib.Atom.Extra
+ , Graphics.X11.Xlib.Display.Extra
+ , Graphics.X11.Xlib.Extra
+ , Graphics.X11.Xlib.Extras.Extra
+ ghc-options: -Wall
+ hs-source-dirs: lib