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