Added HDBC-odbc.

svn path=/nixpkgs/trunk/; revision=28975
This commit is contained in:
Andres Löh 2011-09-02 15:11:52 +00:00
parent e8c849f8e3
commit 33afa20575
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ cabal, HDBC, mtl, odbc, time, utf8String }:
cabal.mkDerivation (self: {
pname = "HDBC-odbc";
version = "2.3.1.0";
sha256 = "0vza38ggs863wjh25xnwslwlin68166ywws72bs766rl0rq7fkf4";
isLibrary = true;
isExecutable = true;
buildDepends = [ HDBC mtl time utf8String ];
extraLibraries = [ odbc ];
noHaddock = true;
meta = {
homepage = "http://software.complete.org/hdbc-odbc";
description = "ODBC driver for HDBC";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@ -700,6 +700,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
HDBC = callPackage ../development/libraries/haskell/HDBC/HDBC.nix {};
HDBCOdbc = callPackage ../development/libraries/haskell/HDBC/HDBC-odbc.nix {
odbc = pkgs.unixODBC;
};
HDBCPostgresql = callPackage ../development/libraries/haskell/HDBC/HDBC-postgresql.nix {
inherit (pkgs) postgresql;
};