servant/servant-mock/default.nix

18 lines
538 B
Nix
Raw Normal View History

2015-08-29 14:46:57 +02:00
{ mkDerivation, aeson, base, bytestring, http-types, QuickCheck
, servant, servant-server, stdenv, transformers, wai, warp
}:
mkDerivation {
pname = "servant-mock";
version = "0.5";
src = ./.;
isLibrary = true;
isExecutable = true;
buildDepends = [
aeson base bytestring http-types QuickCheck servant servant-server
transformers wai warp
];
homepage = "http://github.com/haskell-servant/servant";
description = "Derive a mock server for free from your servant API types";
license = stdenv.lib.licenses.bsd3;
}