mirror of
https://github.com/qfpl/applied-fp-course.git
synced 2024-11-30 02:14:01 +03:00
e701b91a7b
Level 04 contains some testing fun. Removed spurious yaml file from level03. Update README. Have noticed irritating snafu RE the app structure. Not built as a library in other levels, will fix.
15 lines
413 B
Nix
15 lines
413 B
Nix
{ mkDerivation, base, wai, warp, http-types, aeson, optparse-applicative, hspec, hspec-wai, stdenv }:
|
|
mkDerivation {
|
|
pname = "level04";
|
|
version = "0.1.0.0";
|
|
sha256 = "0";
|
|
isLibrary = false;
|
|
isExecutable = true;
|
|
executableHaskellDepends = [
|
|
base wai warp http-types optparse-applicative aeson
|
|
hspec hspec-wai
|
|
];
|
|
description = "Simplest of web apps";
|
|
license = stdenv.lib.licenses.bsd3;
|
|
}
|