about summary refs log blame commit diff
path: root/users/Profpatsch/htmx-experiment/default.nix
blob: 13ff4f3939c9cca82039edd482835f735a52be01 (plain) (tree)


















































                                                       
{ 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/Multipart.hs
      ./src/ServerErrors.hs
      ./src/ValidationParseT.hs
    ];

    libraryHaskellDepends = [
      pkgs.haskellPackages.pa-label
      pkgs.haskellPackages.pa-error-tree
      pkgs.haskellPackages.blaze-html
      pkgs.haskellPackages.blaze-markup
      pkgs.haskellPackages.bytestring
      pkgs.haskellPackages.conduit
      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.profunctors
      pkgs.haskellPackages.selective
      pkgs.haskellPackages.servant-multipart-api
      pkgs.haskellPackages.servant-multipart
      pkgs.haskellPackages.text
      pkgs.haskellPackages.unliftio
      pkgs.haskellPackages.wai-extra
      pkgs.haskellPackages.wai
      pkgs.haskellPackages.warp

    ];

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


in
htmx-experiment