-
Notifications
You must be signed in to change notification settings - Fork 5
/
default.nix
28 lines (28 loc) · 1.06 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, bytestring, containers, directory
, filepath, hspec, http-media, insert-ordered-containers, lens, lib
, mtl, openapi3, optparse-applicative, prettyprinter, relude, tasty
, tasty-discover, tasty-golden, tasty-hspec, tasty-hunit, text
, unordered-containers, yaml
}:
mkDerivation {
pname = "tie";
version = "0.1.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = [
aeson base bytestring containers directory filepath http-media
insert-ordered-containers lens mtl openapi3 prettyprinter relude
text unordered-containers yaml
];
executableHaskellDepends = [ base optparse-applicative relude ];
testHaskellDepends = [
aeson base bytestring containers filepath hspec
insert-ordered-containers openapi3 prettyprinter relude tasty
tasty-golden tasty-hspec tasty-hunit text yaml
];
testToolDepends = [ tasty-discover ];
description = "Tie allows generation of Haskell server stubs from OpenAPI (v 3.x) specifications.";
license = lib.licenses.asl20;
}