Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 27 lines 794 B view raw
1{ lib, buildPythonPackage, fetchPypi, freetds, cython, setuptools-git }: 2 3buildPythonPackage rec { 4 pname = "pymssql"; 5 version = "3.0.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "4d0ed31c76983d723c0c979b18e2273623621e630ca4901f17a86128aca13f84"; 10 }; 11 12 buildInputs = [cython setuptools-git]; 13 propagatedBuildInputs = [freetds]; 14 15 # The tests require a running instance of SQLServer, so we skip them 16 doCheck = false; 17 18 meta = with lib; { 19 homepage = http://pymssql.org/en/stable/; 20 description = "A simple database interface for Python that builds on top 21 of FreeTDS to provide a Python DB-API (PEP-249) interface to Microsoft 22 SQL Server"; 23 license = licenses.lgpl21; 24 maintainers = with maintainers; [ mredaelli ]; 25 broken = true; 26 }; 27}