tvl-depot/users/Profpatsch/jbovlaste-sqlite/default.nix
Profpatsch df43454dc5 refactor(users/Profpatsch/jbovlaste): factor Parse into own module
We want to use this quite generic parser type for other things as
well.

Change-Id: I890b43c58e479bdf2d179a724280ef1d8748fafa
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9742
Autosubmit: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
2023-10-15 22:57:25 +00:00

33 lines
775 B
Nix

{ 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
depot.users.Profpatsch.my-prelude
pkgs.haskellPackages.foldl
pkgs.haskellPackages.sqlite-simple
pkgs.haskellPackages.xml-conduit
];
isExecutable = true;
isLibrary = false;
license = lib.licenses.mit;
};
in
jbovlaste-sqlite