2015-04-08 16:27:24 +02:00
|
|
|
{ mkDerivation, aeson, base, bytestring, hashable, hspec
|
|
|
|
, http-media, lens, servant, stdenv, string-conversions, text
|
|
|
|
, unordered-containers
|
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "servant-docs";
|
2015-05-09 02:28:05 +02:00
|
|
|
version = "0.4";
|
2015-04-08 16:27:24 +02:00
|
|
|
src = ./.;
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
|
|
|
aeson base bytestring hashable http-media lens servant
|
|
|
|
string-conversions text unordered-containers
|
|
|
|
];
|
2015-04-20 19:13:55 +02:00
|
|
|
testDepends = [ aeson base hspec servant string-conversions ];
|
2015-04-08 16:27:24 +02:00
|
|
|
homepage = "http://haskell-servant.github.io/";
|
|
|
|
description = "generate API docs for your servant webservice";
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
}
|