mirror of
https://github.com/qfpl/applied-fp-course.git
synced 2024-11-29 16:55:12 +03:00
22 lines
665 B
Nix
22 lines
665 B
Nix
|
{ mkDerivation, aeson, base, bytestring, doctest, hspec, hspec-wai
|
||
|
, http-types, mtl, optparse-applicative, sqlite-simple
|
||
|
, sqlite-simple-errors, stdenv, text, time, wai, wai-extra, warp
|
||
|
}:
|
||
|
mkDerivation {
|
||
|
pname = "level05";
|
||
|
version = "0.1.0.0";
|
||
|
src = ./.;
|
||
|
isLibrary = true;
|
||
|
isExecutable = true;
|
||
|
libraryHaskellDepends = [
|
||
|
aeson base bytestring http-types mtl optparse-applicative
|
||
|
sqlite-simple sqlite-simple-errors text time wai warp
|
||
|
];
|
||
|
executableHaskellDepends = [ base ];
|
||
|
testHaskellDepends = [
|
||
|
base bytestring doctest hspec hspec-wai wai wai-extra
|
||
|
];
|
||
|
description = "Simplest of web apps";
|
||
|
license = stdenv.lib.licenses.bsd3;
|
||
|
}
|