forked from mirrors/nixpkgs
pymssql: init at 2.1.4
This commit is contained in:
parent
5bc4595d25
commit
1bf18e4c85
|
@ -4922,4 +4922,9 @@
|
|||
github = "zzamboni";
|
||||
name = "Diego Zamboni";
|
||||
};
|
||||
mredaelli = {
|
||||
email = "massimo@typish.io";
|
||||
github = "mredaelli";
|
||||
name = "Massimo Redaelli";
|
||||
};
|
||||
}
|
||||
|
|
26
pkgs/development/python-modules/pymssql/default.nix
Normal file
26
pkgs/development/python-modules/pymssql/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, freetds, cython, setuptools-git }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymssql";
|
||||
version = "2.1.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1yvs3azd8dkf40lybr9wvswvf4hbxn5ys9ypansmbbb328dyn09j";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -4994,6 +4994,8 @@ in {
|
|||
|
||||
scour = callPackage ../development/python-modules/scour { };
|
||||
|
||||
pymssql = callPackage ../development/python-modules/pymssql { };
|
||||
|
||||
});
|
||||
|
||||
in fix' (extends overrides packages)
|
||||
|
|
Loading…
Reference in a new issue