about summary refs log tree commit diff
path: root/xmonad-ng.cabal
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2021-11-23 03:19:06 +0300
committerAzat Bahawi <azahi@teknik.io>2021-11-23 03:19:06 +0300
commit729e030dd25da2e36fa5a1312b8ecb3415dc1675 (patch)
tree53166b6c3bd96f860d0a7242353ef9cc7bb1790f /xmonad-ng.cabal
parentRemove tests (diff)
Huge update
Diffstat (limited to 'xmonad-ng.cabal')
-rw-r--r--xmonad-ng.cabal113
1 files changed, 52 insertions, 61 deletions
diff --git a/xmonad-ng.cabal b/xmonad-ng.cabal
index d8804b2..ae1b31f 100644
--- a/xmonad-ng.cabal
+++ b/xmonad-ng.cabal
@@ -1,70 +1,61 @@
-cabal-version: 3.0
+cabal-version: 2.2
 
-name:          xmonad-ng
-version:       2.0.0
-synopsis:      Personal XMonad configuration
-description:
-  This package is a window manager built on top of xmonad and xmonad-contrib
-  libraries targeted for a single-display GNU\/Linux machine running Xorg.
-  .
-  Made with efficiency in mind this window manager enables controlling windows
-  using only keyboard and allows using multiple workspaces, scratchpads,
-  window layouts and etc.
+-- This file has been generated from package.yaml by hpack version 0.34.5.
+--
+-- see: https://github.com/sol/hpack
 
-license:       BSD-3-Clause
-license-file:  LICENSE
-copyright:     (c) 2018-2021 Azat Bahawi
-author:        Azat Bahawi <azahi@teknik.io>
-maintainer:    Azat Bahawi <azahi@teknik.io>
-stability:     experimental
-tested-with:   GHC ==8.10.7
-category:      System
-homepage:      https://github.com/azahi/xmonad-ng
-bug-reports:   https://github.com/azahi/xmonad-ng/issues
-build-type:    Simple
+name:           xmonad-ng
+version:        2.0.1.0
+synopsis:       Personal XMonad configuration
+description:    I hope no one will read this description. It's awful.
+category:       System
+homepage:       https://github.com/azahi/xmonad-ng#readme
+bug-reports:    https://github.com/azahi/xmonad-ng/issues
+author:         Azat Bahawi <azahi@teknik.io>
+maintainer:     Azat Bahawi <azahi@teknik.io>
+copyright:      (c) Azat Bahawi 2018-2021
+license:        GPL-3.0-or-later
+license-file:   LICENSE
+build-type:     Simple
 
 source-repository head
-  type:     git
+  type: git
   location: https://github.com/azahi/xmonad-ng
 
-executable xmonad-ng
-  main-is:          Main.hs
-  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
-
-  hs-source-dirs:   src
+library
+  exposed-modules:
+      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.Prompt
+      XMonad.Custom.Scratchpads
+      XMonad.Custom.Startup
+      XMonad.Custom.Theme
+      XMonad.Custom.Workspaces
+  hs-source-dirs:
+      src/lib
+  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
   build-depends:
-      base            ^>=4.14
-    , containers      ^>=0.6
-    , directory       ^>=1.3
-    , filepath        ^>=1.4
-    , mtl             ^>=2.2
-    , text            ^>=1.2
-    , time            ^>=1.9
-    , X11             ^>=1.10
-    , xmobar          ^>=0.40
-    , xmonad          ^>=0.15
-    , xmonad-contrib  ^>=0.16
-
+      X11 >=1.10.2 && <1.11
+    , base >=4.14 && <5
+    , containers >=0.6.5 && <0.7
+    , xmonad ==0.15.*
+    , xmonad-contrib ==0.16.*
   default-language: Haskell2010
-  other-extensions:
-    CPP
-    DeriveDataTypeable
-    LambdaCase
-    MultiParamTypeClasses
-    TypeSynonymInstances
 
-  ghc-options:      -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -v0 -O2 -threaded -rtsopts -with-rtsopts=-N
+executable xmonad-ng
+  main-is: Main.hs
+  hs-source-dirs:
+      src/exe
+  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -rtsopts -threaded -v0 -with-rtsopts=-N
+  build-depends:
+      base >=4.14 && <5
+    , xmonad ==0.15.*
+    , xmonad-contrib ==0.16.*
+    , xmonad-ng
+  default-language: Haskell2010

Consider giving Nix/NixOS a try! <3