2011-11-10 23:20:48 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "freetds-0.91";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-09-12 20:54:11 +02:00
|
|
|
url = ftp://ftp.astron.com/pub/freetds/stable/freetds-stable.tgz;
|
2011-11-10 23:20:48 +01:00
|
|
|
sha256 = "0r946axzxs0czsmr7283w7vmk5jx3jnxxc32d2ncxsrsh2yli0ba";
|
|
|
|
};
|
|
|
|
|
2014-06-11 12:58:40 +02:00
|
|
|
doDist = true;
|
|
|
|
|
|
|
|
distPhase = ''
|
|
|
|
touch $out/include/tds.h
|
|
|
|
touch $out/lib/libtds.a
|
|
|
|
'';
|
|
|
|
|
2011-11-10 23:20:48 +01:00
|
|
|
meta = {
|
2011-11-14 21:27:09 +01:00
|
|
|
description =
|
|
|
|
"Libraries to natively talk to Microsoft SQL Server and Sybase databases";
|
2011-11-10 23:20:48 +01:00
|
|
|
homepage = "http://www.freetds.org";
|
|
|
|
license = "lgpl";
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|