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
37 lines
1.5 KiB
Text
37 lines
1.5 KiB
Text
cabal-version: 2.2
|
|
name: cookbook-hoist-server-with-context
|
|
version: 0.0.1
|
|
synopsis: JWT and basic access authentication with a Custom Monad cookbook example
|
|
description: Using servant-auth to support both JWT-based and basic
|
|
authentication.
|
|
homepage: http://docs.servant.dev/
|
|
license: BSD-3-Clause
|
|
license-file: ../../../servant/LICENSE
|
|
author: Servant Contributors
|
|
maintainer: haskell-servant-maintainers@googlegroups.com
|
|
category: Servant
|
|
build-type: Simple
|
|
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
|
|
|
|
executable cookbook-hoist-server-with-context
|
|
main-is: HoistServerWithContext.lhs
|
|
build-depends: base == 4.*
|
|
, base-compat
|
|
, text >= 1.2
|
|
, aeson >= 1.2
|
|
, data-default
|
|
, fast-logger
|
|
, servant
|
|
, servant-server
|
|
, servant-auth >= 0.3.2
|
|
, servant-auth-server >= 0.4.4.0
|
|
, time
|
|
, warp >= 3.2
|
|
, wai >= 3.2
|
|
, wai-extra
|
|
, http-types >= 0.12
|
|
, bytestring >= 0.10.4
|
|
, mtl
|
|
default-language: Haskell2010
|
|
ghc-options: -Wall -pgmL markdown-unlit
|
|
build-tool-depends: markdown-unlit:markdown-unlit
|