wt: init at 3.3.6

This commit is contained in:
Julien Dehos 2016-08-08 14:52:55 +02:00
parent f242b752fe
commit 1d6464003f
3 changed files with 52 additions and 0 deletions

@ -0,0 +1,10 @@
--- a/CMakeLists.txt 2016-07-13 14:27:26.000000000 +0200
+++ b/CMakeLists.txt 2016-08-16 12:58:28.135652964 +0200
@@ -6,6 +6,7 @@
CMAKE_POLICY(SET CMP0002 OLD)
CMAKE_POLICY(SET CMP0003 OLD)
CMAKE_POLICY(SET CMP0005 OLD)
+ CMAKE_POLICY(SET CMP0037 OLD)
ENDIF(COMMAND CMAKE_POLICY)
PROJECT(WT)

@ -0,0 +1,40 @@
{stdenv, fetchFromGitHub, cmake, boost, pkgconfig, doxygen, qt48Full, libharu,
pango, fcgi, firebird, libmysql, postgresql, graphicsmagick, glew, openssl,
pcre }:
stdenv.mkDerivation rec {
name = "wt";
version = "3.3.6";
src = fetchFromGitHub {
owner = "kdeforche";
repo = name;
rev = version;
sha256 = "1pvykc969l9cpd0da8bgpi4gr8f6qczrbpprrxamyj1pn0ydzvq3";
};
enableParallelBuilding = true;
buildInputs = [ cmake boost pkgconfig doxygen qt48Full libharu
pango fcgi firebird libmysql postgresql graphicsmagick glew
openssl pcre ];
cmakeFlags = [
"-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick"
"-DWT_CPP_11_MODE=-std=c++11"
"-DGM_PREFIX=${graphicsmagick}"
"-DMYSQL_PREFIX=${libmysql}"
"--no-warn-unused-cli"
];
patches = [ ./cmake.patch ]; # fix a cmake warning; PR sent to upstream
meta = with stdenv.lib; {
homepage = "https://www.webtoolkit.eu/wt";
description = "C++ library for developing web applications";
platforms = platforms.linux ;
license = licenses.gpl2;
maintainers = [ maintainers.juliendehos ];
};
}

@ -9676,6 +9676,8 @@ in
wiredtiger = callPackage ../development/libraries/wiredtiger { };
wt = callPackage ../development/libraries/wt { };
wvstreams = callPackage ../development/libraries/wvstreams { };
wxGTK = wxGTK28;