nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchurl, cxxtools, postgresql, libmysqlclient, sqlite, zlib, openssl }:
2
3stdenv.mkDerivation rec {
4 pname = "tntdb";
5 version = "1.3";
6
7 src = fetchurl {
8 url = "http://www.tntnet.org/download/${pname}-${version}.tar.gz";
9 sha256 = "0js79dbvkic30bzw1pf26m64vs2ssw2sbj55w1dc0sy69dlv4fh9";
10 };
11
12 buildInputs = [ cxxtools postgresql libmysqlclient sqlite zlib openssl ];
13
14 enableParallelBuilding = true;
15
16 meta = with lib; {
17 homepage = "http://www.tntnet.org/tntdb.html";
18 description = "C++ library which makes accessing SQL databases easy and robust";
19 platforms = platforms.linux ;
20 license = licenses.lgpl21;
21 maintainers = [ maintainers.juliendehos ];
22 };
23}