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
59 lines
1.7 KiB
Text
59 lines
1.7 KiB
Text
cabal-version: 2.2
|
|
name: servant-machines
|
|
version: 0.15.1
|
|
|
|
synopsis: Servant Stream support for machines
|
|
category: Servant, Web, Enumerator
|
|
description: Servant Stream support for machines.
|
|
.
|
|
Provides 'ToSourceIO' and 'FromSourceIO' instances for 'MachineT'.
|
|
|
|
homepage: http://docs.servant.dev/
|
|
bug-reports: http://github.com/haskell-servant/servant/issues
|
|
license: BSD-3-Clause
|
|
license-file: LICENSE
|
|
author: Servant Contributors
|
|
maintainer: haskell-servant-maintainers@googlegroups.com
|
|
copyright: 2018-2019 Servant Contributors
|
|
build-type: Simple
|
|
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2
|
|
|
|
extra-source-files:
|
|
CHANGELOG.md
|
|
|
|
source-repository head
|
|
type: git
|
|
location: http://github.com/haskell-servant/servant-machines.git
|
|
|
|
library
|
|
exposed-modules: Servant.Machines
|
|
build-depends:
|
|
base >=4.9 && <5
|
|
, bytestring >=0.10.8.1 && <0.12
|
|
, machines >=0.6.4 && <0.8
|
|
, mtl >=2.2.2 && <2.3
|
|
, servant >=0.15 && <0.19
|
|
hs-source-dirs: src
|
|
default-language: Haskell2010
|
|
ghc-options: -Wall
|
|
|
|
test-suite example
|
|
type: exitcode-stdio-1.0
|
|
main-is: Main.hs
|
|
hs-source-dirs:
|
|
example
|
|
ghc-options: -Wall -rtsopts -threaded
|
|
build-depends:
|
|
base
|
|
, base-compat
|
|
, bytestring
|
|
, http-media
|
|
, servant
|
|
, machines
|
|
, servant-machines
|
|
, servant-server >=0.15 && <0.19
|
|
, servant-client >=0.15 && <0.19
|
|
, wai >=3.2.1.2 && <3.3
|
|
, warp >=3.2.25 && <3.4
|
|
, http-client
|
|
default-language: Haskell2010
|