1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 19:26:02 +00:00
nixpkgs/pkgs/development/python-modules/pyodbc/default.nix
2017-11-05 20:11:43 +01:00

24 lines
648 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, isPyPy, libiodbc }:
buildPythonPackage rec {
pname = "pyodbc";
version = "4.0.21";
name = "${pname}-${version}";
disabled = isPyPy; # use pypypdbc instead
src = fetchPypi {
inherit pname version;
sha256 = "9655f84ca9e5cb2dfffff705601017420c840d55271ba62dd44f05383eff0329";
};
buildInputs = [ libiodbc ];
meta = with stdenv.lib; {
description = "Python ODBC module to connect to almost any database";
homepage = "https://github.com/mkleehammer/pyodbc";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ bjornfor ];
};
}