1
1
mirror of https://github.com/qfpl/applied-fp-course.git synced 2024-11-29 16:55:12 +03:00
applied-fp-course/level05/level05.nix

22 lines
665 B
Nix
Raw Normal View History

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