1 { lib, stdenv, fetchurl, cmake, sqlite, libmysqlclient, postgresql, unixODBC }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/cppcms/${pname}-${version}.tar.bz2";
9 sha256 = "0blr1casmxickic84dxzfmn3lm7wrsl4aa2abvpq93rdfddfy3nn";
12 nativeBuildInputs = [ cmake ];
13 buildInputs = [ sqlite libmysqlclient postgresql unixODBC ];
15 cmakeFlags = [ "--no-warn-unused-cli" ];
16 env.NIX_CFLAGS_COMPILE = "-I${libmysqlclient}/include/mysql -L${libmysqlclient}/lib/mysql";
19 homepage = "http://cppcms.com/sql/cppdb/";
20 description = "C++ Connectivity library that supports MySQL, PostgreSQL, Sqlite3 databases and generic ODBC drivers";
21 platforms = platforms.linux ;
22 license = licenses.boost;
23 maintainers = [ maintainers.juliendehos ];