wt: init at 3.3.6
This commit is contained in:
parent
f242b752fe
commit
1d6464003f
10
pkgs/development/libraries/wt/cmake.patch
Normal file
10
pkgs/development/libraries/wt/cmake.patch
Normal 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)
|
40
pkgs/development/libraries/wt/default.nix
Normal file
40
pkgs/development/libraries/wt/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
|
@ -9676,6 +9676,8 @@ in
|
||||
|
||||
wiredtiger = callPackage ../development/libraries/wiredtiger { };
|
||||
|
||||
wt = callPackage ../development/libraries/wt { };
|
||||
|
||||
wvstreams = callPackage ../development/libraries/wvstreams { };
|
||||
|
||||
wxGTK = wxGTK28;
|
||||
|
Loading…
Reference in New Issue
Block a user