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/level04.nix
Sean Chalmers 418ce19e02 Overhauled nix file setup to be more like the other QFPL projects.
- Regenerated the individual nix files.
- Removed the shell.nix files

Just running ``$ nix-build`` in levels greater than 2 currently
doesn't succeed, still working on this. The nix-shell environments
work as expected for all levels.
2017-09-18 10:14:29 +10:00

21 lines
569 B
Nix

{ mkDerivation, aeson, base, bytestring, doctest, hspec, hspec-wai
, http-types, optparse-applicative, stdenv, text, wai, wai-extra
, warp
}:
mkDerivation {
pname = "level04";
version = "0.1.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base bytestring http-types optparse-applicative text wai warp
];
executableHaskellDepends = [ base ];
testHaskellDepends = [
base bytestring doctest hspec hspec-wai wai wai-extra
];
description = "Simplest of web apps";
license = stdenv.lib.licenses.bsd3;
}