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/tds_fdw.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
790 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitHub,
postgresql,
freetds,
unstableGitUpdater,
buildPostgresqlExtension,
}:
buildPostgresqlExtension rec {
pname = "tds_fdw";
version = "2.0.4";
buildInputs = [ freetds ];
src = fetchFromGitHub {
owner = "tds-fdw";
repo = "tds_fdw";
rev = "v${version}";
hash = "sha256-ruelOHueaHx1royLPvDM8Abd1rQD62R4KXgtHY9qqTw=";
};
meta = with lib; {
description = "PostgreSQL foreign data wrapper to connect to TDS databases (Sybase and Microsoft SQL Server)";
homepage = "https://github.com/tds-fdw/tds_fdw";
changelog = "https://github.com/tds-fdw/tds_fdw/releases/tag/v${version}";
maintainers = [ maintainers.steve-chavez ];
platforms = postgresql.meta.platforms;
license = licenses.postgresql;
};
}