2018-11-22 10:27:49 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, freetds, cython, setuptools-git }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pymssql";
|
2019-12-19 19:31:19 +00:00
|
|
|
version = "3.0.3";
|
2018-11-22 10:27:49 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:19 +00:00
|
|
|
sha256 = "4d0ed31c76983d723c0c979b18e2273623621e630ca4901f17a86128aca13f84";
|
2018-11-22 10:27:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [cython setuptools-git];
|
|
|
|
propagatedBuildInputs = [freetds];
|
|
|
|
|
|
|
|
# The tests require a running instance of SQLServer, so we skip them
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = http://pymssql.org/en/stable/;
|
|
|
|
description = "A simple database interface for Python that builds on top
|
|
|
|
of FreeTDS to provide a Python DB-API (PEP-249) interface to Microsoft
|
|
|
|
SQL Server";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ mredaelli ];
|
|
|
|
};
|
|
|
|
}
|