Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8d0b3d5e4fc4
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 28d49431c0c0
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Mar 13, 2019

  1. tds_fdw: init a 1.0.8

    * tds_fdw: init a 1.0.8
    
    * Use pname
    steve-chavez authored and ryantm committed Mar 13, 2019
    Copy the full SHA
    28d4943 View commit details
Showing with 37 additions and 1 deletion.
  1. +5 −0 maintainers/maintainer-list.nix
  2. +29 −0 pkgs/servers/sql/postgresql/ext/tds_fdw.nix
  3. +3 −1 pkgs/servers/sql/postgresql/packages.nix
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -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 changes: 29 additions & 0 deletions pkgs/servers/sql/postgresql/ext/tds_fdw.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
4 changes: 3 additions & 1 deletion pkgs/servers/sql/postgresql/packages.nix
Original file line number Diff line number Diff line change
@@ -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 { };
}