about summary refs log tree commit diff
path: root/users/Profpatsch/htmx-experiment/default.nix
blob: ef1a28bd2b05fb0337d2be1de3e92f7a6f9fc9eb (plain) (blame)
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
44
45
46
{ depot, pkgs, lib, ... }:

let
  htmx-experiment = pkgs.haskellPackages.mkDerivation {
    pname = "htmx-experiment";
    version = "0.1.0";

    src = depot.users.Profpatsch.exactSource ./. [
      ./htmx-experiment.cabal
      ./Main.hs
      ./src/HtmxExperiment.hs
      ./src/ServerErrors.hs
      ./src/ValidationParseT.hs
    ];

    libraryHaskellDepends = [
      depot.users.Profpatsch.my-webstuff
      pkgs.haskellPackages.pa-label
      pkgs.haskellPackages.pa-error-tree
      pkgs.haskellPackages.blaze-html
      pkgs.haskellPackages.blaze-markup
      pkgs.haskellPackages.bytestring
      pkgs.haskellPackages.dlist
      pkgs.haskellPackages.http-types
      pkgs.haskellPackages.ihp-hsx
      pkgs.haskellPackages.monad-logger
      pkgs.haskellPackages.pa-error-tree
      pkgs.haskellPackages.pa-field-parser
      pkgs.haskellPackages.pa-label
      pkgs.haskellPackages.pa-prelude
      pkgs.haskellPackages.selective
      pkgs.haskellPackages.text
      pkgs.haskellPackages.unliftio
      pkgs.haskellPackages.wai
      pkgs.haskellPackages.warp

    ];

    isLibrary = false;
    isExecutable = true;
    license = lib.licenses.mit;
  };


in
htmx-experiment