Skip to content

Commit

Permalink
Add cabal file (commercialhaskell/stack#5210)
Browse files Browse the repository at this point in the history
  • Loading branch information
cblp committed Oct 4, 2022
1 parent ae3f887 commit 929da90
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.stack-work/
stack.yaml.lock
servant-cli.cabal
example/greet
example/greet.hi
example/greet.o
Expand Down
91 changes: 91 additions & 0 deletions servant-cli.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.6.
--
-- see: https://github.com/sol/hpack

name: servant-cli
version: 0.1.0.2
synopsis: Command line interface for Servant API clients
description: Parse command line arguments into a servant client, from a servant API,
using /optparse-applicative/ for parsing, displaying help, and
auto-completion.
.
Hooks into the annotation system used by /servant-docs/ to provide descriptions
for parameters and captures.
.
See @example/greet.hs@ for an example usage, and the
<https://hackage.haskell.org/package/servant-cli README> for a tutorial.
category: Web
homepage: https://github.com/mstksg/servant-cli#readme
bug-reports: https://github.com/mstksg/servant-cli/issues
author: Justin Le
maintainer: [email protected]
copyright: (c) Justin Le 2019
license: BSD3
license-file: LICENSE
build-type: Simple
tested-with:
GHC >= 8.6
extra-source-files:
README.md
CHANGELOG.md

source-repository head
type: git
location: https://github.com/mstksg/servant-cli

library
exposed-modules:
Servant.CLI
Servant.CLI.HasCLI
Servant.CLI.Internal.PStruct
Servant.CLI.ParseBody
other-modules:
Paths_servant_cli
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wredundant-constraints -Werror=incomplete-patterns
build-depends:
base >=4.12 && <5
, bytestring
, case-insensitive
, containers
, filepath
, free
, functor-combinators >=0.2
, http-types
, optparse-applicative
, profunctors
, recursion-schemes
, servant >=0.15
, servant-client-core >=0.15
, servant-docs
, text
, transformers
, vinyl
default-language: Haskell2010

executable greet-cli
main-is: greet.hs
other-modules:
Paths_servant_cli
hs-source-dirs:
example
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wredundant-constraints -Werror=incomplete-patterns
build-depends:
aeson
, base >=4.12 && <5
, bytestring
, containers
, http-client
, optparse-applicative
, random
, servant >=0.15
, servant-cli
, servant-client
, servant-server
, text
, vinyl
, warp
default-language: Haskell2010

0 comments on commit 929da90

Please sign in to comment.