summary refs log tree commit diff
path: root/pkgs/development/guile-modules
diff options
context:
space:
mode:
authorM. Ian Graham <games@miangraham.com>2022-10-24 22:33:19 +0900
committerM. Ian Graham <games@miangraham.com>2022-10-25 11:20:29 +0900
commit00ebdd89472aa7cfad3c1936d3a0e52f281733c2 (patch)
tree290722f9911558f9be7310c843881881ba76ee9b /pkgs/development/guile-modules
parentf93f9f43c6b3347b2091a8a41421d31e84cb9275 (diff)
guile-sqlite3: init at 0.1.3
Diffstat (limited to 'pkgs/development/guile-modules')
-rw-r--r--pkgs/development/guile-modules/guile-sqlite3/default.nix44
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/development/guile-modules/guile-sqlite3/default.nix b/pkgs/development/guile-modules/guile-sqlite3/default.nix
new file mode 100644
index 0000000000000..430249f2c935f
--- /dev/null
+++ b/pkgs/development/guile-modules/guile-sqlite3/default.nix
@@ -0,0 +1,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;
+  };
+}