2019-09-22 08:38:09 +01:00
|
|
|
{ stdenv, fetchurl, cxxtools, postgresql, libmysqlclient, sqlite, zlib, openssl }:
|
2016-08-17 11:53:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "tntdb";
|
2016-08-17 11:53:34 +01:00
|
|
|
version = "1.3";
|
2018-05-28 13:59:57 +01:00
|
|
|
|
2016-08-17 11:53:34 +01:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://www.tntnet.org/download/${pname}-${version}.tar.gz";
|
2016-08-17 11:53:34 +01:00
|
|
|
sha256 = "0js79dbvkic30bzw1pf26m64vs2ssw2sbj55w1dc0sy69dlv4fh9";
|
|
|
|
};
|
|
|
|
|
2019-09-22 08:38:09 +01:00
|
|
|
buildInputs = [ cxxtools postgresql libmysqlclient sqlite zlib openssl ];
|
2016-08-17 11:53:34 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +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 ];
|
|
|
|
};
|
|
|
|
}
|