2015-04-20 19:13:55 +02:00
|
|
|
{ mkDerivation, aeson, base, charset, filepath, hspec
|
|
|
|
, hspec-expectations, language-ecmascript, lens, servant
|
|
|
|
, servant-server, stdenv, stm, text, transformers, warp
|
|
|
|
}:
|
|
|
|
mkDerivation {
|
2015-07-22 12:55:44 +02:00
|
|
|
pname = "servant-js";
|
2015-05-09 02:28:05 +02:00
|
|
|
version = "0.4.0";
|
2015-04-20 19:13:55 +02:00
|
|
|
src = ./.;
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
|
|
|
aeson base charset filepath lens servant servant-server stm text
|
|
|
|
transformers warp
|
|
|
|
];
|
|
|
|
testDepends = [
|
|
|
|
base hspec hspec-expectations language-ecmascript lens servant
|
|
|
|
];
|
|
|
|
homepage = "http://haskell-servant.github.io/";
|
2015-07-22 12:55:44 +02:00
|
|
|
description = "Automatically derive javascript functions to query servant webservices";
|
2015-04-20 19:13:55 +02:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
}
|