2015-04-20 19:13:55 +02:00
|
|
|
{ mkDerivation, aeson, attoparsec, base, bytestring
|
2015-07-29 16:06:47 +02:00
|
|
|
, bytestring-conversion, containers, directory, doctest, either
|
|
|
|
, exceptions, filemanip, filepath, hspec, hspec-wai, http-types
|
|
|
|
, mmorph, mtl, network, network-uri, parsec, QuickCheck, safe
|
|
|
|
, servant, split, stdenv, string-conversions, system-filepath
|
|
|
|
, temporary, text, transformers, wai, wai-app-static, wai-extra
|
|
|
|
, warp
|
2015-01-12 15:08:41 +01:00
|
|
|
}:
|
2015-04-20 19:13:55 +02:00
|
|
|
mkDerivation {
|
|
|
|
pname = "servant-server";
|
2015-07-29 16:06:47 +02:00
|
|
|
version = "0.5";
|
2015-04-20 19:13:55 +02:00
|
|
|
src = ./.;
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2015-07-29 16:06:47 +02:00
|
|
|
aeson attoparsec base bytestring containers either filepath
|
|
|
|
http-types mmorph mtl network network-uri safe servant split
|
|
|
|
string-conversions system-filepath text transformers wai
|
|
|
|
wai-app-static warp
|
2015-04-20 19:13:55 +02:00
|
|
|
];
|
|
|
|
testDepends = [
|
2015-05-09 02:28:05 +02:00
|
|
|
aeson base bytestring bytestring-conversion directory doctest
|
2015-07-29 16:06:47 +02:00
|
|
|
either exceptions filemanip filepath hspec hspec-wai http-types mtl
|
|
|
|
network parsec QuickCheck servant string-conversions temporary text
|
2015-05-09 02:28:05 +02:00
|
|
|
transformers wai wai-extra warp
|
2015-04-20 19:13:55 +02:00
|
|
|
];
|
|
|
|
homepage = "http://haskell-servant.github.io/";
|
|
|
|
description = "A family of combinators for defining webservices APIs and serving them";
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2015-01-12 15:08:41 +01:00
|
|
|
}
|