-
Notifications
You must be signed in to change notification settings - Fork 1
/
homepage.nix
43 lines (43 loc) · 1.97 KB
/
homepage.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ mkDerivation, aeson, base, blaze-html, blaze-markup, bytestring
, classy-prelude, classy-prelude-conduit, classy-prelude-yesod
, clientsession, conduit, containers, data-default, directory
, esqueleto, fast-logger, file-embed, filepath, hjsmin, hspec
, http-conduit, monad-control, monad-logger, old-locale, persistent
, persistent-postgresql, persistent-template, regex-compat
, resourcet, safe, shakespeare, lib, template-haskell, text
, time, transformers, unordered-containers, vector, wai-extra
, wai-logger, warp, yaml, yesod, yesod-auth, yesod-core, yesod-form
, yesod-markdown, yesod-newsfeed, yesod-persistent, yesod-sitemap
, yesod-static, yesod-test, cabal-install, yesod-bin, load-env
, yesod-auth-oauth2, yesod-csp, ghcid, foreign-store
}:
mkDerivation {
pname = "homepage";
version = "0.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
doHaddock = false; # https://github.com/haskell/haddock/issues/775
buildTools = [ cabal-install yesod-bin ghcid ];
libraryHaskellDepends = [
aeson base blaze-html blaze-markup bytestring classy-prelude
classy-prelude-conduit classy-prelude-yesod clientsession conduit
containers data-default directory esqueleto fast-logger file-embed
filepath hjsmin http-conduit monad-control monad-logger old-locale
persistent persistent-postgresql persistent-template regex-compat
safe shakespeare template-haskell text time unordered-containers
vector wai-extra wai-logger warp yaml yesod yesod-auth yesod-core
yesod-form yesod-markdown yesod-newsfeed yesod-persistent
yesod-sitemap yesod-static load-env yesod-auth-oauth2 yesod-csp
foreign-store
];
executableHaskellDepends = [ base ];
testHaskellDepends = [
aeson base classy-prelude classy-prelude-yesod hspec monad-logger
persistent persistent-postgresql resourcet shakespeare transformers
yesod yesod-core yesod-test
];
homepage = "https://www.pascal-wittmann.de";
description = "Personal website";
license = lib.licenses.bsd3;
}