mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
tds_fdw: init a 1.0.8
* tds_fdw: init a 1.0.8 * Use pname
This commit is contained in:
parent
8d0b3d5e4f
commit
28d49431c0
@ -4469,6 +4469,11 @@
|
||||
github = "stesie";
|
||||
name = "Stefan Siegl";
|
||||
};
|
||||
steve-chavez = {
|
||||
email = "stevechavezast@gmail.com";
|
||||
github = "steve-chavez";
|
||||
name = "Steve Chávez";
|
||||
};
|
||||
steveej = {
|
||||
email = "mail@stefanjunker.de";
|
||||
github = "steveej";
|
||||
|
29
pkgs/servers/sql/postgresql/ext/tds_fdw.nix
Normal file
29
pkgs/servers/sql/postgresql/ext/tds_fdw.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchFromGitHub, postgresql, freetds }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tds_fdw";
|
||||
version = "1.0.8";
|
||||
|
||||
buildInputs = [ postgresql freetds ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tds-fdw";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "0dlv1imiy773yplqqpl26xka65bc566k2x81wkrbvwqagnwvcai2";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
install -D tds_fdw.so -t $out/lib
|
||||
install -D sql/tds_fdw--${version}.sql -t $out/share/extension
|
||||
install -D tds_fdw.control -t $out/share/extension
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A PostgreSQL foreign data wrapper to connect to TDS databases (Sybase and Microsoft SQL Server)";
|
||||
homepage = https://github.com/tds-fdw/tds_fdw;
|
||||
maintainers = [ maintainers.steve-chavez ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.postgresql;
|
||||
};
|
||||
}
|
@ -34,4 +34,6 @@ self: super: {
|
||||
timescaledb = super.callPackage ./ext/timescaledb.nix { };
|
||||
|
||||
tsearch_extras = super.callPackage ./ext/tsearch_extras.nix { };
|
||||
}
|
||||
|
||||
tds_fdw = super.callPackage ./ext/tds_fdw.nix { };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user