Merge pull request #31394 from xvapx/sybase

pythonPackages.sybase: move to python-modules
This commit is contained in:
Lancelot SIX 2017-11-09 15:34:16 +01:00 committed by GitHub
commit 3d8be08cf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 24 deletions

View File

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchurl
, isPy3k
, freetds
}:
buildPythonPackage rec {
name = "python-sybase-${version}";
version = "0.40pre2";
disabled = isPy3k;
src = fetchurl {
url = "https://sourceforge.net/projects/python-sybase/files/python-sybase/${name}/${name}.tar.gz";
sha256 = "0pm88hyn18dy7ljam4mdx9qqgmgraf2zy2wl02g5vsjl4ncvq90j";
};
propagatedBuildInputs = [ freetds ];
SYBASE = freetds;
setupPyBuildFlags = [ "-DHAVE_FREETDS" "-UWANT_BULKCOPY" ];
meta = with stdenv.lib; {
description = "The Sybase module provides a Python interface to the Sybase relational database system";
homepage = http://python-sybase.sourceforge.net;
license = licenses.bsd3;
maintainers = with maintainers; [ veprbl ];
platforms = platforms.unix;
};
}

View File

@ -360,30 +360,7 @@ in {
python-uinput = callPackage ../development/python-modules/python-uinput {};
python-sybase = buildPythonPackage rec {
name = "python-sybase-${version}";
version = "0.40pre2";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "https://sourceforge.net/projects/python-sybase/files/python-sybase/${name}/${name}.tar.gz";
sha256 = "0pm88hyn18dy7ljam4mdx9qqgmgraf2zy2wl02g5vsjl4ncvq90j";
};
propagatedBuildInputs = [ pkgs.freetds ];
SYBASE = pkgs.freetds;
setupPyBuildFlags = [ "-DHAVE_FREETDS" "-UWANT_BULKCOPY" ];
meta = {
description = "The Sybase module provides a Python interface to the Sybase relational database system";
homepage = http://python-sybase.sourceforge.net;
license = licenses.bsd3;
maintainers = with maintainers; [ veprbl ];
platforms = platforms.unix;
};
};
python-sybase = callPackage ../development/python-modules/sybase {};
alot = buildPythonPackage rec {
rev = "0.5.1";