mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
24 lines
698 B
Nix
24 lines
698 B
Nix
{ stdenv, fetchurl, cxxtools, postgresql, mysql, sqlite, zlib, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "tntdb-${version}";
|
|
version = "1.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.tntnet.org/download/${name}.tar.gz";
|
|
sha256 = "0js79dbvkic30bzw1pf26m64vs2ssw2sbj55w1dc0sy69dlv4fh9";
|
|
};
|
|
|
|
buildInputs = [ cxxtools postgresql mysql.connector-c 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 ];
|
|
};
|
|
}
|