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

let
  #   bins = depot.nix.getBins pkgs.sqlite ["sqlite3"];

  jbovlaste-sqlite = pkgs.haskellPackages.mkDerivation {
    pname = "jbovlaste-sqlite";
    version = "0.1.0";

    src = depot.users.Profpatsch.exactSource ./. [
      ./jbovlaste-sqlite.cabal
      ./JbovlasteSqlite.hs
    ];

    libraryHaskellDepends = [
      pkgs.haskellPackages.pa-prelude
      pkgs.haskellPackages.pa-label
      pkgs.haskellPackages.pa-error-tree
      pkgs.haskellPackages.pa-field-parser
      pkgs.haskellPackages.foldl
      pkgs.haskellPackages.sqlite-simple
      pkgs.haskellPackages.xml-conduit

    ];

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

in
jbovlaste-sqlite