1
1
mirror of https://github.com/qfpl/applied-fp-course.git synced 2024-11-30 02:14:01 +03:00
applied-fp-course/level04/default.nix
Sean Chalmers e701b91a7b Add Level 04
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.
2017-08-11 10:40:05 +10:00

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;
}