fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ lib, stdenv, fetchFromGitHub, cmake, boost, pkg-config, doxygen, qtbase, libharu
2, pango, fcgi, firebird, libmysqlclient, postgresql, graphicsmagick, glew, openssl
3, pcre, harfbuzz, icu
4}:
5
6let
7 generic =
8 { version, sha256 }:
9 stdenv.mkDerivation {
10 pname = "wt";
11 inherit version;
12
13 src = fetchFromGitHub {
14 owner = "emweb";
15 repo = "wt";
16 rev = version;
17 inherit sha256;
18 };
19
20 nativeBuildInputs = [ cmake pkg-config ];
21 buildInputs = [
22 boost doxygen qtbase libharu
23 pango fcgi firebird libmysqlclient postgresql graphicsmagick glew
24 openssl pcre harfbuzz icu
25 ];
26
27 dontWrapQtApps = true;
28 cmakeFlags = [
29 "-DWT_CPP_11_MODE=-std=c++11"
30 "--no-warn-unused-cli"
31 ]
32 ++ lib.optionals (graphicsmagick != null) [
33 "-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick"
34 "-DGM_PREFIX=${graphicsmagick}"
35 ]
36 ++ lib.optional (libmysqlclient != null)
37 "-DMYSQL_PREFIX=${libmysqlclient}";
38
39 meta = with lib; {
40 homepage = "https://www.webtoolkit.eu/wt";
41 description = "C++ library for developing web applications";
42 platforms = platforms.linux;
43 license = licenses.gpl2;
44 maintainers = with maintainers; [ juliendehos ];
45 };
46 };
47in {
48 wt4 = generic {
49 version = "4.10.0";
50 sha256 = "sha256-05WZnyUIwXwJA24mQi5ATCqRZ6PE/tiw2/MO1qYHRsY=";
51 };
52}