mirror of
https://github.com/qfpl/applied-fp-course.git
synced 2024-11-22 19:34:33 +03:00
f1e89235f0
* Started replacing hspec-wai silliness * Start replacing the more interesting tests * Refactor the remaining test files * Add transformers dependency to test-suite * Added transformers to test-suite dependency but forgot to add it to the doctests dependency list as well * Cache the stack build directory to speed up travis builds * Bump upper bound for doctest to permit GHC 8.6 * Fix up import indentation
25 lines
832 B
Nix
25 lines
832 B
Nix
{ mkDerivation, aeson, base, bytestring, doctest, hspec, hspec-wai
|
|
, http-types, mtl, optparse-applicative, semigroups, sqlite-simple
|
|
, sqlite-simple-errors, stdenv, tasty, tasty-hunit, text, time
|
|
, transformers, wai, wai-extra, warp, mmorph
|
|
}:
|
|
mkDerivation {
|
|
pname = "applied-fp-course";
|
|
version = "0.1.0.0";
|
|
src = ./.;
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
libraryHaskellDepends = [
|
|
aeson base bytestring http-types mtl optparse-applicative
|
|
semigroups sqlite-simple sqlite-simple-errors text time
|
|
transformers wai warp
|
|
];
|
|
executableHaskellDepends = [ base ];
|
|
testHaskellDepends = [
|
|
base bytestring doctest hspec hspec-wai http-types mtl tasty
|
|
tasty-hunit text wai wai-extra mmorph
|
|
];
|
|
description = "Simplest of web apps for educational purposes";
|
|
license = stdenv.lib.licenses.bsd3;
|
|
}
|