nixpkgs/pkgs/development/libraries/wt/default.nix

43 lines
1.1 KiB
Nix
Raw Normal View History

{ 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 {
name = "wt-${version}";
version = "4.0.0";
2016-08-08 13:52:55 +01:00
src = fetchFromGitHub {
owner = "kdeforche";
repo = "wt";
2016-08-08 13:52:55 +01:00
rev = version;
sha256 = "1451xxvnx6mlvxg0jxlr1mfv5v18h2214kijk5kacilqashfc43i";
2016-08-08 13:52:55 +01:00
};
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig ];
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}"
"-DMYSQL_PREFIX=${libmysql.dev}"
2016-08-08 13:52:55 +01:00
"--no-warn-unused-cli"
];
meta = with stdenv.lib; {
homepage = https://www.webtoolkit.eu/wt;
2016-08-08 13:52:55 +01:00
description = "C++ library for developing web applications";
platforms = platforms.linux;
2016-08-08 13:52:55 +01:00
license = licenses.gpl2;
maintainers = [ maintainers.juliendehos ];
};
}