73c87bc2bc
* bumped cabal-version field Cabal supports two types of licenses, native and SPDX, which can be seen here hackage.haskell.org/package/Cabal-3.6.2.0/docs/Distribution-Types-PackageDescription.html#v:licenseRaw Several packages use BSD-3-Clause as a license, in conjonction with cabal-version: >=1.10 which cabal parses as Right (UnknownLicense "BSD-3"). If I change teh cabal-version to cabal-version: 2.2 , cabal correctly identifdies the license License (ELicense (ELicenseId BSD_3_Clause)). * changed license from cabal to spdx format aka BSD3 -> BSD-3-Clause: next cabal may deprecate the old format
45 lines
1.1 KiB
Text
45 lines
1.1 KiB
Text
cabal-version: 2.2
|
|
name: open-id-connect
|
|
version: 0.1
|
|
synopsis: OpenId Connect with Servant example
|
|
homepage: http://haskell-servant.readthedocs.org/
|
|
license: BSD-3-Clause
|
|
license-file: ../../../servant/LICENSE
|
|
author: Servant Contributors
|
|
maintainer: haskell-servant-maintainers@googlegroups.com
|
|
build-type: Simple
|
|
tested-with: GHC==8.6.5
|
|
|
|
executable cookbook-openidconnect
|
|
main-is: OpenIdConnect.lhs
|
|
build-depends: base ==4.*
|
|
, aeson
|
|
, aeson-pretty
|
|
, binary
|
|
, blaze-html
|
|
, blaze-markup
|
|
, bytestring
|
|
, case-insensitive
|
|
, cereal
|
|
, containers
|
|
, generic-lens
|
|
, http-client
|
|
, http-client-tls
|
|
, http-types
|
|
, jose-jwt
|
|
, lens
|
|
, lens-aeson
|
|
, oidc-client
|
|
, protolude
|
|
, random
|
|
, servant
|
|
, servant-blaze
|
|
, servant-server
|
|
, text
|
|
, time
|
|
, vector
|
|
, wai
|
|
, warp >= 3.2
|
|
default-language: Haskell2010
|
|
ghc-options: -Wall -Wcompat -Wincomplete-uni-patterns -Wredundant-constraints -Wnoncanonical-monad-instances -pgmL markdown-unlit
|
|
build-tool-depends: markdown-unlit:markdown-unlit >= 0.4
|