Merge pull request #17775 from juliendehos/wt

wt: init at 3.3.6
This commit is contained in:
Joachim F 2016-08-20 13:02:51 +02:00 committed by GitHub
commit 8e8a89d8a8
3 changed files with 52 additions and 0 deletions

View File

@ -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)

View File

@ -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 ];
};
}

View File

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