feat(users/Profpatsch): init jbovlaste sqlite

This is intended to convert the XML dump from
https://jbovlaste.lojban.org/ to an sqlite database at one point.

So far only XML parsing and some pretty printing

Change-Id: I48c989a3109c8d513c812703fa7a8f2689a157ee
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8687
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
Autosubmit: Profpatsch <mail@profpatsch.de>
This commit is contained in:
Profpatsch 2023-05-31 01:59:00 +02:00 committed by clbot
parent 8c4730c433
commit c2baefbecc
3 changed files with 213 additions and 0 deletions

View file

@ -0,0 +1,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