about summary refs log tree commit diff
path: root/users/Profpatsch/jbovlaste-sqlite/default.nix
blob: cccd3d934e6dadcec1edfad1bf3cd66023ebb153 (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.sqlite-simple
      pkgs.haskellPackages.xml-conduit
      depot.users.Profpatsch.arglib.netencode.haskell
      depot.users.Profpatsch.netencode.netencode-hs

    ];

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

in
jbovlaste-sqlite