servant-nix: Servant Nix content-type

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Servant Nix bindings.

Provides MineRender and MimeUnrender instances. So you can accept and return Nix expressions, with the help of the hnix library.


[Skip to Readme]

Properties

Versions 0.1, 0.1
Change log CHANGELOG.md
Dependencies base (>=4.8 && <4.12), bytestring (>=0.10.4.0 && <0.11), hnix (==0.5.*), http-media (==0.7.*), servant (==0.13.*), text (>=1.2.3.0 && <1.3) [details]
License BSD-3-Clause
Copyright 2018 Servant Contributors
Author Servant Contributors
Maintainer haskell-servant-maintainers@googlegroups.com
Category Web, Servant, Nix
Home page http://haskell-servant.readthedocs.org/
Bug tracker http://github.com/haskell-servant/servant-nix/issues
Source repo head: git clone http://github.com/haskell-servant/servant-nix.git
Uploaded by AlpMestanogullari at 2018-06-13T20:10:46Z

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for servant-nix-0.1

[back to package description]

servant-nix

Use Nix expressions as request or response bodies in servant applications

servant

Example

Run the example:

cabal new-test

It performs a simple roundtrip test for a fixed Nix expression which is a list of numbers. See the code in example/Main.hs.