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

24 lines
698 B
Nix
Raw Normal View History

2016-08-17 12:53:34 +02:00
{ stdenv, fetchurl, cxxtools, postgresql, mysql, sqlite, zlib, openssl }:
stdenv.mkDerivation rec {
2018-05-28 14:59:57 +02:00
name = "tntdb-${version}";
2016-08-17 12:53:34 +02:00
version = "1.3";
2018-05-28 14:59:57 +02:00
2016-08-17 12:53:34 +02:00
src = fetchurl {
2018-05-28 14:59:57 +02:00
url = "http://www.tntnet.org/download/${name}.tar.gz";
2016-08-17 12:53:34 +02:00
sha256 = "0js79dbvkic30bzw1pf26m64vs2ssw2sbj55w1dc0sy69dlv4fh9";
};
2017-12-25 15:21:31 +01:00
buildInputs = [ cxxtools postgresql mysql.connector-c sqlite zlib openssl ];
2016-08-17 12:53:34 +02:00
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = http://www.tntnet.org/tntdb.html;
2016-08-17 12:53:34 +02:00
description = "C++ library which makes accessing SQL databases easy and robust";
platforms = platforms.linux ;
license = licenses.lgpl21;
maintainers = [ maintainers.juliendehos ];
};
}