about summary refs log tree commit diff
path: root/users/Profpatsch/my-prelude/default.nix
blob: 1c75379d703753523c972d80bcd1709ff3453e8f (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
{ depot, pkgs, lib, ... }:

pkgs.haskellPackages.mkDerivation {
  pname = "my-prelude";
  version = "0.0.1-unreleased";

  src = depot.users.Profpatsch.exactSource ./. [
    ./my-prelude.cabal
    ./src/Aeson.hs
    ./src/MyPrelude.hs
    ./src/Test.hs
    ./src/Tool.hs
    ./src/ValidationParseT.hs
    ./src/Postgres/Decoder.hs
    ./src/Postgres/MonadPostgres.hs
  ];

  isLibrary = true;

  libraryHaskellDepends = [
    pkgs.haskellPackages.pa-prelude
    pkgs.haskellPackages.pa-label
    pkgs.haskellPackages.pa-error-tree
    pkgs.haskellPackages.pa-json
    pkgs.haskellPackages.pa-pretty
    pkgs.haskellPackages.aeson-better-errors
    pkgs.haskellPackages.error
    pkgs.haskellPackages.hspec
    pkgs.haskellPackages.hspec-expectations-pretty-diff
    pkgs.haskellPackages.monad-logger
    pkgs.haskellPackages.postgresql-simple
    pkgs.haskellPackages.profunctors
    pkgs.haskellPackages.PyF
    pkgs.haskellPackages.semigroupoids
    pkgs.haskellPackages.these
    pkgs.haskellPackages.unliftio
    pkgs.haskellPackages.validation-selective
    pkgs.haskellPackages.vector
  ];

  license = lib.licenses.mit;

}