servant-nix: Servant Nix content-type

[ bsd3, library, nix, servant, web ] [ Propose Tags ]

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]
Versions [RSS] [faq] 0.1
Change log
Dependencies base (>=4.8 && <5), bytestring (>= && <0.11), hnix (==0.5.*), http-media (==0.7.*), servant (>=0.13 && <0.15), text (>= && <1.3) [details]
License BSD-3-Clause
Copyright 2018 Servant Contributors
Author Servant Contributors
Revised Revision 1 made by AlpMestanogullari at 2018-06-19T10:53:47Z
Category Web, Servant, Nix
Home page
Bug tracker
Source repo head: git clone
Uploaded by AlpMestanogullari at 2018-06-13T20:11:58Z
Distributions NixOS:0.1
Downloads 545 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-06-13 [all 1 reports]




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for servant-nix-0.1

[back to package description]


Use Nix expressions as request or response bodies in servant applications



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.