depot/third_party/nixpkgs/pkgs/development/libraries/tntdb/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

46 lines
815 B
Nix

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