summary refs log tree commit diff
path: root/pkgs/development/guile-modules/guile-sqlite3/default.nix
blob: 430249f2c935f085436cd04a0638517515d10269 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{ lib
, stdenv
, fetchFromGitea
, guile
, autoreconfHook
, pkg-config
, texinfo
, sqlite
}:

stdenv.mkDerivation rec {
  pname = "guile-sqlite3";
  version = "0.1.3";

  src = fetchFromGitea {
    domain = "notabug.org";
    owner = pname;
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-C1a6lMK4O49043coh8EQkTWALrPolitig3eYf+l+HmM=";
  };

  nativeBuildInputs = [
    autoreconfHook
    pkg-config
    texinfo
  ];
  buildInputs = [
    guile
    sqlite
  ];

  doCheck = true;
  makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
  enableParallelBuilding = true;

  meta = with lib; {
    description = "Guile bindings for the SQLite3 database engine";
    homepage = "https://notabug.org/guile-sqlite3/guile-sqlite3";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ miangraham ];
    platforms = guile.meta.platforms;
  };
}