diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/tntdb')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/tntdb/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/tntdb/default.nix b/nixpkgs/pkgs/development/libraries/tntdb/default.nix new file mode 100644 index 000000000000..13b4e6b97a9a --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/tntdb/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, cxxtools, postgresql, mysql, sqlite, zlib, openssl }: + +stdenv.mkDerivation rec { + pname = "tntdb"; + version = "1.3"; + + src = fetchurl { + url = "http://www.tntnet.org/download/${pname}-${version}.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 ]; + }; +} |