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:
parent
8c4730c433
commit
c2baefbecc
3 changed files with 213 additions and 0 deletions
32
users/Profpatsch/jbovlaste-sqlite/default.nix
Normal file
32
users/Profpatsch/jbovlaste-sqlite/default.nix
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue