-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
postgresqlPackages.sqlite_fdw: init at 2.4.0
- Loading branch information
1 parent
e853a7f
commit 2fdb191
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | ||
}; | ||
} |