mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
7b1b46b96b
small changes to freetds see: http://www.php.net/manual/de/mssql.setup.php
26 lines
557 B
Nix
26 lines
557 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "freetds-0.91";
|
|
|
|
src = fetchurl {
|
|
url = ftp://ftp.astron.com/pub/freetds/stable/freetds-stable.tgz;
|
|
sha256 = "0r946axzxs0czsmr7283w7vmk5jx3jnxxc32d2ncxsrsh2yli0ba";
|
|
};
|
|
|
|
doDist = true;
|
|
|
|
distPhase = ''
|
|
touch $out/include/tds.h
|
|
touch $out/lib/libtds.a
|
|
'';
|
|
|
|
meta = {
|
|
description =
|
|
"Libraries to natively talk to Microsoft SQL Server and Sybase databases";
|
|
homepage = "http://www.freetds.org";
|
|
license = "lgpl";
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|
|
|