2016-08-17 11:53:34 +01:00
|
|
|
{ stdenv, fetchurl, cxxtools, postgresql, mysql, sqlite, zlib, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.3";
|
|
|
|
name = "tntdb";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.tntnet.org/download/tntdb-${version}.tar.gz";
|
|
|
|
sha256 = "0js79dbvkic30bzw1pf26m64vs2ssw2sbj55w1dc0sy69dlv4fh9";
|
|
|
|
};
|
|
|
|
|
2017-12-25 14:21:31 +00:00
|
|
|
buildInputs = [ cxxtools postgresql mysql.connector-c sqlite zlib openssl ];
|
2016-08-17 11:53:34 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://www.tntnet.org/tntdb.html;
|
2016-08-17 11:53:34 +01:00
|
|
|
description = "C++ library which makes accessing SQL databases easy and robust";
|
|
|
|
platforms = platforms.linux ;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = [ maintainers.juliendehos ];
|
|
|
|
};
|
|
|
|
}
|