xmonad.cabal: simplify and modernize the Cabal file

It's also pretty-printed with 'stylish-cabal' for consistent formatting.
This commit is contained in:
Peter Simons 2018-08-20 14:05:33 +02:00
parent c0cf91303f
commit 120ebce490

View File

@ -1,135 +1,126 @@
name: xmonad name: xmonad
version: 0.14.1 version: 0.14.1
homepage: http://xmonad.org
synopsis: A tiling window manager synopsis: A tiling window manager
description: description: xmonad is a tiling window manager for X. Windows are arranged
xmonad is a tiling window manager for X. Windows are arranged automatically to tile the screen without gaps or overlap, maximising
automatically to tile the screen without gaps or overlap, maximising screen use. All features of the window manager are accessible from the
screen use. All features of the window manager are accessible from keyboard: a mouse is strictly optional. xmonad is written and
the keyboard: a mouse is strictly optional. xmonad is written and extensible in Haskell. Custom layout algorithms, and other extensions,
extensible in Haskell. Custom layout algorithms, and other may be written by the user in config files. Layouts are applied
extensions, may be written by the user in config files. Layouts are dynamically, and different layouts may be used on each workspace.
applied dynamically, and different layouts may be used on each Xinerama is fully supported, allowing windows to be tiled on several
workspace. Xinerama is fully supported, allowing windows to be tiled screens.
on several screens.
category: System
license: BSD3 license: BSD3
license-file: LICENSE license-file: LICENSE
author: Spencer Janssen author: Spencer Janssen, Don Stewart, Adam Vogt, David Roundy, Jason Creighton
, Brent Yorgey, Peter Jones, Peter Simons, Andrea Rossato, Devin Mullins
, Lukas Mai, Alec Berryman, Stefan O'Rear, Daniel Wagner, Peter J. Jones
, Daniel Schoepe, Karsten Schoelzel, Neil Mitchell, Joachim Breitner
, Peter De Wachter, Eric Mertens, Geoff Reedy, Michiel Derhaeg
, Philipp Balzarek, Valery V. Vorotyntsev, Alex Tarkovsky, Fabian Beuke
, Felix Hirn, Michael Sloan, Tomas Janousek, Vanessa McHale, Nicolas Pouillard
, Aaron Denney, Austin Seipp, Benno Fünfstück, Brandon S Allbery, Chris Mears
, Christian Thiemann, Clint Adams, Daniel Neri, David Lazar, Ferenc Wagner
, Francesco Ariis, Gábor Lipták, Ivan N. Veselov, Ivan Tarasov, Javran Cheng
, Jens Petersen, Joey Hess, Jonne Ransijn, Josh Holland, Khudyakov Alexey
, Klaus Weidner, Michael G. Sloan, Mikkel Christiansen, Nicolas Dudebout
, Ondřej Súkup, Paul Hebble, Shachaf Ben-Kiki, Siim Põder, Tim McIver
, Trevor Elliott, Wouter Swierstra, Conrad Irwin, Tim Thelion
maintainer: xmonad@haskell.org maintainer: xmonad@haskell.org
extra-source-files: README.md CHANGES.md CONFIG STYLE tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.1
category: System
homepage: http://xmonad.org
bug-reports: https://github.com/xmonad/xmonad/issues
build-type: Simple
extra-source-files: README.md
CHANGES.md
CONFIG
STYLE
tests/*.hs tests/*.hs
tests/Properties/*.hs tests/Properties/*.hs
tests/Properties/Layout/*.hs tests/Properties/Layout/*.hs
man/xmonad.1.markdown man/xmonad.1 man/xmonad.1.html man/xmonad.1.markdown
man/xmonad.1
man/xmonad.1.html
util/GenerateManpage.hs util/GenerateManpage.hs
util/hpcReport.sh util/hpcReport.sh
cabal-version: >= 1.8 cabal-version: >= 1.8
bug-reports: https://github.com/xmonad/xmonad/issues
build-type: Simple
tested-with: GHC==8.0.2, GHC==8.2.2, GHC==8.4.3, GHC==8.6.1
source-repository head source-repository head
type: git type: git
location: https://github.com/xmonad/xmonad location: https://github.com/xmonad/xmonad
flag testing flag testing
description: Testing mode, only build minimal components default: False
default: False manual: True
manual: True description: Testing mode, only build minimal components
flag generatemanpage flag generatemanpage
description: Build the tool for generating the man page default: False
default: False manual: True
manual: True description: Build the tool for generating the man page
library library
hs-source-dirs: src exposed-modules: XMonad
exposed-modules: XMonad XMonad.Config
XMonad.Main XMonad.Core
XMonad.Core XMonad.Layout
XMonad.Config XMonad.Main
XMonad.Layout XMonad.ManageHook
XMonad.ManageHook XMonad.Operations
XMonad.Operations XMonad.StackSet
XMonad.StackSet other-modules: Paths_xmonad
other-modules: Paths_xmonad hs-source-dirs: src
build-depends: base >= 4.6 && < 5
, X11 >= 1.8 && < 1.10
, containers
, data-default
, directory
, extensible-exceptions
, filepath
, mtl
, process
, setlocale
, unix
, utf8-string >= 0.3 && < 1.1
ghc-options: -funbox-strict-fields -Wall -fno-warn-unused-do-bind
build-depends: base >= 4.6 && < 5, if flag(testing)
containers, buildable: False
data-default,
directory,
extensible-exceptions,
filepath,
setlocale,
mtl,
process,
unix,
utf8-string >= 0.3 && < 1.1,
X11>=1.8 && < 1.10
if true
ghc-options: -funbox-strict-fields -Wall
if impl(ghc >= 6.12.1)
ghc-options: -fno-warn-unused-do-bind
if impl(ghc < 7.0.0)
extensions: UndecidableInstances
-- needed for XMonad.Config's instance Default (XConfig a)
if flag(testing)
buildable: False
if !impl(ghc > 8)
build-depends: fail, semigroups
executable xmonad executable xmonad
main-is: Main.hs main-is: Main.hs
build-depends: base, build-depends: base, X11, mtl, unix, xmonad
mtl, ghc-options: -Wall -fno-warn-unused-do-bind
unix,
X11,
xmonad
ghc-options: -Wall
if impl(ghc >= 6.12.1)
ghc-options: -Wall -fno-warn-unused-do-bind
executable generatemanpage executable generatemanpage
main-is: GenerateManpage.hs main-is: GenerateManpage.hs
hs-source-dirs: util hs-source-dirs: util
if flag(generatemanpage)
build-depends: base,
pandoc >= 2,
regex-posix,
text
else
buildable: False
if flag(generatemanpage)
build-depends: base, pandoc >= 2, regex-posix, text
else
buildable: False
-- note util/hpcReport.sh
test-suite properties test-suite properties
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
hs-source-dirs: tests main-is: Properties.hs
build-depends: base, other-modules: Instances
containers, Properties.Delete
extensible-exceptions, Properties.Failure
QuickCheck >= 2, Properties.Floating
X11, Properties.Focus
xmonad Properties.GreedyView
main-is: Properties.hs Properties.Insert
other-modules: Instances Properties.Layout.Full
Properties.Delete Properties.Layout.Tall
Properties.Failure Properties.Screen
Properties.Floating Properties.Shift
Properties.Focus Properties.Stack
Properties.GreedyView Properties.StackSet
Properties.Insert Properties.Swap
Properties.Layout.Full Properties.View
Properties.Layout.Tall Properties.Workspace
Properties.Screen Utils
Properties.Shift hs-source-dirs: tests
Properties.Stack build-depends: base, QuickCheck >= 2, X11, containers, extensible-exceptions, xmonad
Properties.StackSet
Properties.Swap
Properties.View
Properties.Workspace
Utils