-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
28 lines (28 loc) · 1.1 KB
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ mkDerivation, aeson, base, collection-json, directory, envy
, exceptions, extra, filepath, hspec, hspec-discover, http-api-data
, http-media, http-types, network-arbitrary, network-uri
, QuickCheck, quickcheck-instances, servant, servant-server, stdenv
, test-invariant, text, wai-cors, wai-extra, warp, yaml
}:
mkDerivation {
pname = "collection-server";
version = "1.1.0.0";
src = ./.;
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
aeson base collection-json directory envy exceptions extra filepath
http-api-data http-media http-types network-uri servant
servant-server text wai-cors wai-extra warp yaml
];
testHaskellDepends = [
aeson base collection-json directory exceptions extra filepath
hspec http-api-data http-media network-arbitrary network-uri
QuickCheck quickcheck-instances servant servant-server
test-invariant text yaml
];
testToolDepends = [ hspec-discover ];
homepage = "https://github.com/alunduil/collection-server";
description = "Static Resource Server for application/vnd.collection+json";
license = stdenv.lib.licenses.mit;
}