2015-07-29 16:06:47 +02:00
|
|
|
{ mkDerivation, aeson, base, bytestring, bytestring-conversion
|
|
|
|
, case-insensitive, hashable, hspec, http-media, http-types, lens
|
|
|
|
, servant, stdenv, string-conversions, text, unordered-containers
|
2015-04-08 16:27:24 +02:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "servant-docs";
|
2015-07-29 16:06:47 +02:00
|
|
|
version = "0.5";
|
2015-04-08 16:27:24 +02:00
|
|
|
src = ./.;
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2015-07-29 16:06:47 +02:00
|
|
|
aeson base bytestring bytestring-conversion case-insensitive
|
|
|
|
hashable http-media http-types lens servant string-conversions text
|
|
|
|
unordered-containers
|
2015-04-08 16:27:24 +02:00
|
|
|
];
|
2015-07-29 16:06:47 +02:00
|
|
|
testDepends = [ aeson base hspec lens 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;
|
|
|
|
}
|