git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #17775 from juliendehos/wt

wt: init at 3.3.6

commit8e8a89d8a8f9d801f9e17d48325d06f20743b364 authorJoachim F <joachifm@users.noreply.github.com> dateSat 20 Aug 2016, 13:02 (10 years ago) parent4f575ff1d64640
3 files changed+52
pkgs/development/libraries/wt/cmake.patch+10 pkgs/development/libraries/wt/default.nix+40 pkgs/top-level/all-packages.nix+2
pkgs/development/libraries/wt/cmake.patchnew file+10
@@ -0,0 +1,10 @@
1+--- a/CMakeLists.txt 2016-07-13 14:27:26.000000000 +0200
2++++ b/CMakeLists.txt 2016-08-16 12:58:28.135652964 +0200
3+@@ -6,6 +6,7 @@
4+ CMAKE_POLICY(SET CMP0002 OLD)
5+ CMAKE_POLICY(SET CMP0003 OLD)
6+ CMAKE_POLICY(SET CMP0005 OLD)
7++ CMAKE_POLICY(SET CMP0037 OLD)
8+ ENDIF(COMMAND CMAKE_POLICY)
9+
10+ PROJECT(WT)
pkgs/development/libraries/wt/default.nixnew file+40
@@ -0,0 +1,40 @@
1+{stdenv, fetchFromGitHub, cmake, boost, pkgconfig, doxygen, qt48Full, libharu,
2+ pango, fcgi, firebird, libmysql, postgresql, graphicsmagick, glew, openssl,
3+ pcre }:
4+
5+stdenv.mkDerivation rec {
6+ name = "wt";
7+ version = "3.3.6";
8+
9+ src = fetchFromGitHub {
10+ owner = "kdeforche";
11+ repo = name;
12+ rev = version;
13+ sha256 = "1pvykc969l9cpd0da8bgpi4gr8f6qczrbpprrxamyj1pn0ydzvq3";
14+ };
15+
16+ enableParallelBuilding = true;
17+
18+ buildInputs = [ cmake boost pkgconfig doxygen qt48Full libharu
19+ pango fcgi firebird libmysql postgresql graphicsmagick glew
20+ openssl pcre ];
21+
22+ cmakeFlags = [
23+ "-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick"
24+ "-DWT_CPP_11_MODE=-std=c++11"
25+ "-DGM_PREFIX=${graphicsmagick}"
26+ "-DMYSQL_PREFIX=${libmysql}"
27+ "--no-warn-unused-cli"
28+ ];
29+
30+ patches = [ ./cmake.patch ]; # fix a cmake warning; PR sent to upstream
31+
32+ meta = with stdenv.lib; {
33+ homepage = "https://www.webtoolkit.eu/wt";
34+ description = "C++ library for developing web applications";
35+ platforms = platforms.linux ;
36+ license = licenses.gpl2;
37+ maintainers = [ maintainers.juliendehos ];
38+ };
39+}
40+
pkgs/top-level/all-packages.nix+2
@@ -9719,6 +9719,8 @@ in
97199719
97209720 wiredtiger = callPackage ../development/libraries/wiredtiger { };
97219721
9722+ wt = callPackage ../development/libraries/wt { };
9723+
97229724 wvstreams = callPackage ../development/libraries/wvstreams { };
97239725
97249726 wxGTK = wxGTK28;