1{ stdenv, fetchurl, cxxtools, postgresql, mysql, sqlite, zlib, openssl }:
2
3stdenv.mkDerivation rec {
4 version = "1.3";
5 name = "tntdb";
6 src = fetchurl {
7 url = "http://www.tntnet.org/download/tntdb-${version}.tar.gz";
8 sha256 = "0js79dbvkic30bzw1pf26m64vs2ssw2sbj55w1dc0sy69dlv4fh9";
9 };
10
11 buildInputs = [ cxxtools postgresql mysql.connector-c sqlite zlib openssl ];
12
13 enableParallelBuilding = true;
14
15 meta = with stdenv.lib; {
16 homepage = http://www.tntnet.org/tntdb.html;
17 description = "C++ library which makes accessing SQL databases easy and robust";
18 platforms = platforms.linux ;
19 license = licenses.lgpl21;
20 maintainers = [ maintainers.juliendehos ];
21 };
22}