1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/servers/sql/postgresql/ext/sqlite_fdw.nix

33 lines
750 B
Nix

{
lib,
fetchFromGitHub,
sqlite,
postgresql,
buildPostgresqlExtension,
}:
buildPostgresqlExtension rec {
pname = "sqlite_fdw";
version = "2.5.0";
src = fetchFromGitHub {
owner = "pgspider";
repo = "sqlite_fdw";
rev = "v${version}";
hash = "sha256-zPVIFzUv6UFFHq0Zi5MeQOcvgsfZAKGkkNIGxkTJ+oo=";
};
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;
};
}