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

24 lines
706 B
Nix
Raw Normal View History

{ stdenv, fetchurl, cxxtools, postgresql, libmysqlclient, sqlite, zlib, openssl }:
2016-08-17 10:53:34 +00:00
stdenv.mkDerivation rec {
pname = "tntdb";
2016-08-17 10:53:34 +00:00
version = "1.3";
2018-05-28 12:59:57 +00:00
2016-08-17 10:53:34 +00:00
src = fetchurl {
url = "http://www.tntnet.org/download/${pname}-${version}.tar.gz";
2016-08-17 10:53:34 +00:00
sha256 = "0js79dbvkic30bzw1pf26m64vs2ssw2sbj55w1dc0sy69dlv4fh9";
};
buildInputs = [ cxxtools postgresql libmysqlclient sqlite zlib openssl ];
2016-08-17 10:53:34 +00:00
enableParallelBuilding = true;
meta = with stdenv.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";
platforms = platforms.linux ;
license = licenses.lgpl21;
maintainers = [ maintainers.juliendehos ];
};
}