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";
|
|
|
|
version = "0.3";
|
|
|
|
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;
|
|
|
|
}
|