2024-01-02 11:29:13 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, cxxtools
|
|
|
|
, postgresql
|
|
|
|
, libmysqlclient
|
|
|
|
, sqlite
|
|
|
|
, zlib
|
|
|
|
, openssl
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tntdb";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "1.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "maekitalo";
|
|
|
|
repo = "tntdb";
|
|
|
|
rev = "V${version}";
|
|
|
|
hash = "sha256-ciqHv077sXnvCx+TJjdY1uPrlCP7/s972koXjGLgWhU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cxxtools
|
|
|
|
postgresql
|
|
|
|
libmysqlclient
|
|
|
|
sqlite
|
|
|
|
zlib
|
|
|
|
openssl
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://www.tntnet.org/tntdb.html";
|
|
|
|
description = "C++ library which makes accessing SQL databases easy and robust";
|
2024-01-02 11:29:13 +00:00
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = [ maintainers.juliendehos ];
|
|
|
|
};
|
|
|
|
}
|