1{
2 lib,
3 autoreconfHook,
4 fetchFromGitea,
5 guile,
6 pkg-config,
7 sqlite,
8 stdenv,
9 texinfo,
10}:
11
12stdenv.mkDerivation (finalAttrs: {
13 pname = "guile-sqlite3";
14 version = "0.1.3";
15
16 src = fetchFromGitea {
17 domain = "notabug.org";
18 owner = "guile-sqlite3";
19 repo = "guile-sqlite3";
20 rev = "v${finalAttrs.version}";
21 hash = "sha256-C1a6lMK4O49043coh8EQkTWALrPolitig3eYf+l+HmM=";
22 };
23
24 nativeBuildInputs = [
25 autoreconfHook
26 guile
27 pkg-config
28 texinfo
29 ];
30
31 buildInputs = [
32 guile
33 sqlite
34 ];
35
36 makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
37
38 strictDeps = true;
39
40 doCheck = true;
41
42 enableParallelBuilding = true;
43
44 meta = {
45 homepage = "https://notabug.org/guile-sqlite3/guile-sqlite3";
46 description = "Guile bindings for the SQLite3 database engine";
47 license = lib.licenses.gpl3Plus;
48 maintainers = with lib.maintainers; [ ];
49 inherit (guile.meta) platforms;
50 };
51})