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