Skip to content

Commit

Permalink
postgresqlPackages.sqlite_fdw: init at 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
apfelkuchen6 committed Nov 14, 2024
1 parent e853a7f commit 2fdb191
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/servers/sql/postgresql/ext/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ self: super: {

rum = super.callPackage ./rum.nix { };

sqlite_fdw = super.callPackage ./sqlite_fdw.nix { };

tsja = super.callPackage ./tsja.nix { };

wal2json = super.callPackage ./wal2json.nix { };
Expand Down
35 changes: 35 additions & 0 deletions pkgs/servers/sql/postgresql/ext/sqlite_fdw.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
lib,
fetchFromGitHub,
sqlite,
postgresql,
buildPostgresqlExtension,
}:

buildPostgresqlExtension {
pname = "sqlite_fdw";
version = "2.4.0";

src = fetchFromGitHub {
owner = "pgspider";
repo = "sqlite_fdw";
rev = "v2.4.0";
hash = "sha256-u51rcKUH2nZyZbI2g3crzHt5jiacbTq4xmfP3JgqnnM=";
};

buildInputs = [
sqlite
postgresql
];

makeFlags = [ "USE_PGXS=1" ];

meta = {
description = "SQLite Foreign Data Wrapper for PostgreSQL";
homepage = "https://github.com/pgspider/sqlite_fdw";
maintainers = with lib.maintainers; [ apfelkuchen6 ];
platforms = lib.platforms.unix;
license = lib.licenses.postgresql;
broken = lib.versionAtLeast postgresql.version "17";
};
}

0 comments on commit 2fdb191

Please sign in to comment.