mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
postgresqlPackages.sqlite_fdw: init at 2.4.0
This commit is contained in:
parent
e853a7f61c
commit
0d9b64a98c
@ -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 { };
|
||||
|
34
pkgs/servers/sql/postgresql/ext/sqlite_fdw.nix
Normal file
34
pkgs/servers/sql/postgresql/ext/sqlite_fdw.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
sqlite,
|
||||
postgresql,
|
||||
buildPostgresqlExtension,
|
||||
}:
|
||||
|
||||
buildPostgresqlExtension rec {
|
||||
pname = "sqlite_fdw";
|
||||
# TODO: Check whether PostgreSQL 17 is still broken after next update.
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pgspider";
|
||||
repo = "sqlite_fdw";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-u51rcKUH2nZyZbI2g3crzHt5jiacbTq4xmfP3JgqnnM=";
|
||||
};
|
||||
|
||||
buildInputs = [ sqlite ];
|
||||
|
||||
makeFlags = [ "USE_PGXS=1" ];
|
||||
|
||||
meta = {
|
||||
description = "SQLite Foreign Data Wrapper for PostgreSQL";
|
||||
homepage = "https://github.com/pgspider/sqlite_fdw";
|
||||
changelog = "https://github.com/pgspider/sqlite_fdw/releases/tag/v${version}";
|
||||
maintainers = with lib.maintainers; [ apfelkuchen6 ];
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.postgresql;
|
||||
broken = lib.versionAtLeast postgresql.version "17";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user