about summary refs log tree commit diff
path: root/xmonad-ng.cabal
diff options
context:
space:
mode:
authorazahi <azahi@teknik.io>2018-10-13 14:12:30 +0300
committerazahi <azahi@teknik.io>2018-10-13 14:12:30 +0300
commit8e20389ce238d979e6cb9253643bc181d698f5a9 (patch)
treed777052e5ac411cfa79de596ecc99d7d596705d8 /xmonad-ng.cabal
parentRework Custom (diff)
Huge update, yet again
Move to ~/.xmonad
Completely redo directory structure
Remove Test.hs with xmonad-ng-test because it breaks cabal
Add headers for new files
Add proper "copyright" entries and mention upstream xmonad developers
Other minor fixes
Diffstat (limited to '')
-rw-r--r--xmonad-ng.cabal71
1 files changed, 17 insertions, 54 deletions
diff --git a/xmonad-ng.cabal b/xmonad-ng.cabal
index 112c369..1713214 100644
--- a/xmonad-ng.cabal
+++ b/xmonad-ng.cabal
@@ -17,7 +17,8 @@ source-repository head
     type:     git
     location: https://github.com/azahi/xmonad-ng
 
-library
+executable xmonad-ng
+    main-is:          Main.hs
     ghc-options:      -Wall
     hs-source-dirs:   src
     default-language: Haskell2010
@@ -27,58 +28,21 @@ library
                     , MultiParamTypeClasses
                     , TypeSynonymInstances
 
-    exposed-modules: XMonad.Actions.FloatSnapSpaced
-                   , XMonad.Actions.PerConditionKeys
-                   , XMonad.Custom.Bindings
-                   , XMonad.Custom.Event
-                   , XMonad.Custom.Layout
-                   , XMonad.Custom.Log
-                   , XMonad.Custom.Manage
-                   , XMonad.Custom.Misc
-                   , XMonad.Custom.Navigation
-                   , XMonad.Custom.Projects
-                   , XMonad.Custom.Scratchpads
-                   , XMonad.Custom.Startup
-                   , XMonad.Custom.Theme
-                   , XMonad.Custom.Workspaces
-                   , XMonad.Util.ALSA
-
-    build-depends: X11            >= 1.9  && < 1.10
-                 , alsa-mixer     >= 0.2  && < 0.3
-                 , base           >= 4.11 && < 4.12
-                 , containers     >= 0.5  && < 0.6
-                 , directory      >= 1.3  && < 1.4
-                 , filepath       >= 1.4  && < 1.5
-                 , mtl            >= 2.2  && < 2.3
-                 , text           >= 1.2  && < 1.3
-                 , time           >= 1.8  && < 1.9
-                 , xmonad         >= 0.15 && < 0.16
-                 , xmonad-contrib >= 0.15 && < 0.16
-
-executable xmonad-ng
-    main-is:          Main.hs
-    ghc-options:      -Wall
-    hs-source-dirs:   src
-    default-language: Haskell2010
-
-    build-depends: X11            >= 1.9  && < 1.10
-                 , alsa-mixer     >= 0.2  && < 0.3
-                 , base           >= 4.11 && < 4.12
-                 , containers     >= 0.5  && < 0.6
-                 , directory      >= 1.3  && < 1.4
-                 , filepath       >= 1.4  && < 1.5
-                 , mtl            >= 2.2  && < 2.3
-                 , text           >= 1.2  && < 1.3
-                 , time           >= 1.8  && < 1.9
-                 , xmonad         >= 0.15 && < 0.16
-                 , xmonad-contrib >= 0.15 && < 0.16
-                 , xmonad-ng
-
-executable xmonad-ng-test
-    main-is:          Test.hs
-    ghc-options:      -Wall
-    hs-source-dirs:   src
-    default-language: Haskell2010
+    other-modules: XMonad.Actions.FloatSnapSpaced
+                 , XMonad.Actions.PerConditionKeys
+                 , XMonad.Custom.Bindings
+                 , XMonad.Custom.Event
+                 , XMonad.Custom.Layout
+                 , XMonad.Custom.Log
+                 , XMonad.Custom.Manage
+                 , XMonad.Custom.Misc
+                 , XMonad.Custom.Navigation
+                 , XMonad.Custom.Projects
+                 , XMonad.Custom.Scratchpads
+                 , XMonad.Custom.Startup
+                 , XMonad.Custom.Theme
+                 , XMonad.Custom.Workspaces
+                 , XMonad.Util.ALSA
 
     build-depends: X11            >= 1.9  && < 1.10
                  , alsa-mixer     >= 0.2  && < 0.3
@@ -91,4 +55,3 @@ executable xmonad-ng-test
                  , time           >= 1.8  && < 1.9
                  , xmonad         >= 0.15 && < 0.16
                  , xmonad-contrib >= 0.15 && < 0.16
-                 , xmonad-ng

Consider giving Nix/NixOS a try! <3