;pkg:cabal: specify GPLv3+ exactly; require cabal 2.2+ [#2359]
Previously our cabal files used cabal-version 1.12, and were in theory buildable with any ancient version of cabal. Now at least cabal 2.2 (or a version of stack built with with similar Cabal version) is required to build hledger.
This commit is contained in:
parent
b6ec245647
commit
775507c2d4
@ -1,4 +1,4 @@
|
||||
cabal-version: 1.12
|
||||
cabal-version: 2.2
|
||||
|
||||
-- This file has been generated from package.yaml by hpack version 0.38.0.
|
||||
--
|
||||
@ -30,7 +30,7 @@ homepage: http://hledger.org
|
||||
bug-reports: http://bugs.hledger.org
|
||||
author: Simon Michael <simon@joyful.com>
|
||||
maintainer: Simon Michael <simon@joyful.com>
|
||||
license: GPL-3
|
||||
license: GPL-3.0-or-later
|
||||
license-file: LICENSE
|
||||
build-type: Simple
|
||||
tested-with:
|
||||
@ -116,6 +116,8 @@ library
|
||||
Text.WideString
|
||||
other-modules:
|
||||
Paths_hledger_lib
|
||||
autogen-modules:
|
||||
Paths_hledger_lib
|
||||
hs-source-dirs:
|
||||
./
|
||||
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind
|
||||
|
||||
@ -21,7 +21,7 @@ description: |
|
||||
- https://hackage.haskell.org/package/hledger-lib/docs/Hledger.html - starting point for hledger's haddock docs
|
||||
|
||||
category: Finance
|
||||
license: GPL-3
|
||||
license: GPL-3.0-or-later
|
||||
author: Simon Michael <simon@joyful.com>
|
||||
maintainer: Simon Michael <simon@joyful.com>
|
||||
github: simonmichael/hledger
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
cabal-version: 1.12
|
||||
cabal-version: 2.2
|
||||
|
||||
-- This file has been generated from package.yaml by hpack version 0.38.0.
|
||||
--
|
||||
@ -22,7 +22,7 @@ homepage: http://hledger.org
|
||||
bug-reports: http://bugs.hledger.org
|
||||
author: Simon Michael <simon@joyful.com>
|
||||
maintainer: Simon Michael <simon@joyful.com>
|
||||
license: GPL-3
|
||||
license: GPL-3.0-or-later
|
||||
license-file: LICENSE
|
||||
build-type: Simple
|
||||
tested-with:
|
||||
@ -69,6 +69,8 @@ library
|
||||
Hledger.UI.UITypes
|
||||
Hledger.UI.UIUtils
|
||||
Paths_hledger_ui
|
||||
autogen-modules:
|
||||
Paths_hledger_ui
|
||||
hs-source-dirs:
|
||||
./
|
||||
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind
|
||||
@ -117,6 +119,8 @@ executable hledger-ui
|
||||
main-is: hledger-ui.hs
|
||||
other-modules:
|
||||
Paths_hledger_ui
|
||||
autogen-modules:
|
||||
Paths_hledger_ui
|
||||
hs-source-dirs:
|
||||
app
|
||||
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind -with-rtsopts=-T
|
||||
|
||||
@ -13,7 +13,7 @@ description : |
|
||||
<https://hledger.org>
|
||||
|
||||
category : Finance, Console
|
||||
license : GPL-3
|
||||
license : GPL-3.0-or-later
|
||||
author : Simon Michael <simon@joyful.com>
|
||||
maintainer : Simon Michael <simon@joyful.com>
|
||||
github : simonmichael/hledger
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
cabal-version: 1.12
|
||||
cabal-version: 2.2
|
||||
|
||||
-- This file has been generated from package.yaml by hpack version 0.38.0.
|
||||
--
|
||||
@ -24,7 +24,7 @@ homepage: http://hledger.org
|
||||
bug-reports: http://bugs.hledger.org
|
||||
author: Simon Michael <simon@joyful.com>
|
||||
maintainer: Simon Michael <simon@joyful.com>
|
||||
license: GPL-3
|
||||
license: GPL-3.0-or-later
|
||||
license-file: LICENSE
|
||||
build-type: Simple
|
||||
tested-with:
|
||||
@ -153,6 +153,8 @@ library
|
||||
Hledger.Web.Widget.AddForm
|
||||
Hledger.Web.Widget.Common
|
||||
Paths_hledger_web
|
||||
autogen-modules:
|
||||
Paths_hledger_web
|
||||
hs-source-dirs:
|
||||
./
|
||||
ghc-options: -Wall -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns
|
||||
@ -220,6 +222,8 @@ executable hledger-web
|
||||
main-is: main.hs
|
||||
other-modules:
|
||||
Paths_hledger_web
|
||||
autogen-modules:
|
||||
Paths_hledger_web
|
||||
hs-source-dirs:
|
||||
app
|
||||
ghc-options: -Wall -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -with-rtsopts=-T
|
||||
|
||||
@ -15,7 +15,7 @@ description: |
|
||||
<https://hledger.org>
|
||||
|
||||
category: Finance
|
||||
license: GPL-3
|
||||
license: GPL-3.0-or-later
|
||||
author: Simon Michael <simon@joyful.com>
|
||||
maintainer: Simon Michael <simon@joyful.com>
|
||||
github: simonmichael/hledger
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
cabal-version: 1.12
|
||||
cabal-version: 2.2
|
||||
|
||||
-- This file has been generated from package.yaml by hpack version 0.38.0.
|
||||
--
|
||||
@ -23,7 +23,7 @@ homepage: http://hledger.org
|
||||
bug-reports: http://bugs.hledger.org
|
||||
author: Simon Michael <simon@joyful.com>
|
||||
maintainer: Simon Michael <simon@joyful.com>
|
||||
license: GPL-3
|
||||
license: GPL-3.0-or-later
|
||||
license-file: LICENSE
|
||||
build-type: Simple
|
||||
tested-with:
|
||||
@ -149,6 +149,8 @@ library
|
||||
Hledger.Cli.Version
|
||||
other-modules:
|
||||
Paths_hledger
|
||||
autogen-modules:
|
||||
Paths_hledger
|
||||
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind -optP-Wno-nonportable-include-path
|
||||
cpp-options: -DVERSION="1.42.99"
|
||||
build-depends:
|
||||
@ -199,6 +201,8 @@ executable hledger
|
||||
main-is: hledger-cli.hs
|
||||
other-modules:
|
||||
Paths_hledger
|
||||
autogen-modules:
|
||||
Paths_hledger
|
||||
hs-source-dirs:
|
||||
app
|
||||
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind -optP-Wno-nonportable-include-path -with-rtsopts=-T
|
||||
|
||||
@ -14,7 +14,7 @@ description: |
|
||||
<https://hledger.org>
|
||||
|
||||
category: Finance, Console
|
||||
license: GPL-3
|
||||
license: GPL-3.0-or-later
|
||||
author: Simon Michael <simon@joyful.com>
|
||||
maintainer: Simon Michael <simon@joyful.com>
|
||||
github: simonmichael/hledger
|
||||
|
||||
Loading…
Reference in New Issue
Block a user