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

23 lines
685 B
Nix
Raw Normal View History

2016-08-17 10:53:34 +00: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";
};
buildInputs = [ cxxtools postgresql mysql sqlite zlib openssl ];
enableParallelBuilding = true;
meta = with stdenv.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 ];
};
}