nixpkgs/pkgs/development/libraries/tntdb/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
815 B
Nix
Raw Normal View History

2023-12-10 23:26:40 +00:00
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, cxxtools
, postgresql
, libmysqlclient
, sqlite
, zlib
, openssl
}:
2016-08-17 10:53:34 +00:00
stdenv.mkDerivation rec {
pname = "tntdb";
2023-12-10 23:26:40 +00:00
version = "1.4";
2018-05-28 12:59:57 +00:00
2023-12-10 23:26:40 +00:00
src = fetchFromGitHub {
owner = "maekitalo";
repo = "tntdb";
rev = "V${version}";
hash = "sha256-ciqHv077sXnvCx+TJjdY1uPrlCP7/s972koXjGLgWhU=";
2016-08-17 10:53:34 +00:00
};
2023-12-10 23:26:40 +00:00
nativeBuildInputs = [
autoreconfHook
];
buildInputs = [
cxxtools
postgresql
libmysqlclient
sqlite
zlib
openssl
];
2016-08-17 10:53:34 +00:00
enableParallelBuilding = true;
meta = with lib; {
homepage = "http://www.tntnet.org/tntdb.html";
2016-08-17 10:53:34 +00:00
description = "C++ library which makes accessing SQL databases easy and robust";
2023-12-10 23:26:40 +00:00
platforms = platforms.linux;
2016-08-17 10:53:34 +00:00
license = licenses.lgpl21;
maintainers = [ maintainers.juliendehos ];
};
}