mirror of
https://github.com/qfpl/applied-fp-course.git
synced 2024-11-30 02:14:01 +03:00
418ce19e02
- 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.
21 lines
569 B
Nix
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;
|
|
}
|