packages feed

servant-nix-0.1: servant-nix.cabal

name:                servant-nix
version:             0.1
synopsis:            Servant Nix content-type
description:
  Servant Nix bindings.
  .
  Provides @MineRender@ and @MimeUnrender@ instances.
  So you can accept and return Nix expressions, with the help
  of the hnix library.
homepage:            http://haskell-servant.readthedocs.org/
license:             BSD3
license-file:        LICENSE
author:              Servant Contributors
maintainer:          haskell-servant-maintainers@googlegroups.com
copyright:           2018 Servant Contributors
category:            Web, Servant, Nix
build-type:          Simple
cabal-version:       >=1.10
bug-reports:         http://github.com/haskell-servant/servant-nix/issues
tested-with:
  GHC==7.10.3,
  GHC==8.0.2,
  GHC==8.2.2,
  GHC==8.4.3
extra-source-files: README.md
                  , CHANGELOG.md

source-repository head
  type: git
  location: http://github.com/haskell-servant/servant-nix.git

library
  exposed-modules:     Servant.Nix
  build-depends:       base          >=4.8      && <4.12
                     , bytestring    >=0.10.4.0 && <0.11
                     , servant       >=0.13     && <0.14
                     , text          >=1.2.3.0  && <1.3
                     , http-media    >= 0.7     && <0.8
                     , hnix          >= 0.5     && <0.6
  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
  build-depends: base
               , hnix
               , http-client
               , servant
               , servant-nix
               , servant-server
               , servant-client
               , wai
               , warp
  default-language: Haskell2010