2017-10-20 18:16:40 +02:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, boost, pkgconfig, doxygen, qt48Full, libharu
|
|
|
|
, pango, fcgi, firebird, libmysql, postgresql, graphicsmagick, glew, openssl
|
|
|
|
, pcre
|
|
|
|
}:
|
2016-08-08 14:52:55 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-10-20 18:16:40 +02:00
|
|
|
name = "wt-${version}";
|
2017-10-19 16:05:35 +02:00
|
|
|
version = "4.0.0";
|
2016-08-08 14:52:55 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kdeforche";
|
2017-10-20 18:16:40 +02:00
|
|
|
repo = "wt";
|
2016-08-08 14:52:55 +02:00
|
|
|
rev = version;
|
2017-10-19 16:05:35 +02:00
|
|
|
sha256 = "1451xxvnx6mlvxg0jxlr1mfv5v18h2214kijk5kacilqashfc43i";
|
2016-08-08 14:52:55 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2017-10-20 18:16:40 +02:00
|
|
|
buildInputs = [
|
|
|
|
cmake boost doxygen qt48Full libharu
|
|
|
|
pango fcgi firebird libmysql postgresql graphicsmagick glew
|
|
|
|
openssl pcre
|
|
|
|
];
|
2016-08-08 14:52:55 +02:00
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick"
|
|
|
|
"-DWT_CPP_11_MODE=-std=c++11"
|
|
|
|
"-DGM_PREFIX=${graphicsmagick}"
|
2016-08-23 02:34:12 +02:00
|
|
|
"-DMYSQL_PREFIX=${libmysql.dev}"
|
2016-08-08 14:52:55 +02:00
|
|
|
"--no-warn-unused-cli"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://www.webtoolkit.eu/wt;
|
2016-08-08 14:52:55 +02:00
|
|
|
description = "C++ library for developing web applications";
|
2017-10-20 18:16:40 +02:00
|
|
|
platforms = platforms.linux;
|
2016-08-08 14:52:55 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.juliendehos ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|