diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/tntdb')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/tntdb/default.nix | 46 |
1 files changed, 46 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..9080893d5e44 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/tntdb/default.nix @@ -0,0 +1,46 @@ +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +, cxxtools +, postgresql +, libmysqlclient +, sqlite +, zlib +, openssl +}: + +stdenv.mkDerivation rec { + pname = "tntdb"; + version = "1.4"; + + src = fetchFromGitHub { + owner = "maekitalo"; + repo = "tntdb"; + rev = "V${version}"; + hash = "sha256-ciqHv077sXnvCx+TJjdY1uPrlCP7/s972koXjGLgWhU="; + }; + + nativeBuildInputs = [ + autoreconfHook + ]; + + buildInputs = [ + cxxtools + postgresql + libmysqlclient + sqlite + zlib + openssl + ]; + + enableParallelBuilding = true; + + meta = with 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 ]; + }; +} |