1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/development/libraries/wt/default.nix
Vladimír Čunát c3263fcaa1
wt: put version into name, cleanup whitespace
The style is now closer to what's usual in nixpkgs.
2017-10-20 18:17:33 +02:00

43 lines
1.1 KiB
Nix

{ stdenv, fetchFromGitHub, cmake, boost, pkgconfig, doxygen, qt48Full, libharu
, pango, fcgi, firebird, libmysql, postgresql, graphicsmagick, glew, openssl
, pcre
}:
stdenv.mkDerivation rec {
name = "wt-${version}";
version = "4.0.0";
src = fetchFromGitHub {
owner = "kdeforche";
repo = "wt";
rev = version;
sha256 = "1451xxvnx6mlvxg0jxlr1mfv5v18h2214kijk5kacilqashfc43i";
};
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
cmake boost doxygen qt48Full libharu
pango fcgi firebird libmysql postgresql graphicsmagick glew
openssl pcre
];
cmakeFlags = [
"-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick"
"-DWT_CPP_11_MODE=-std=c++11"
"-DGM_PREFIX=${graphicsmagick}"
"-DMYSQL_PREFIX=${libmysql.dev}"
"--no-warn-unused-cli"
];
meta = with stdenv.lib; {
homepage = https://www.webtoolkit.eu/wt;
description = "C++ library for developing web applications";
platforms = platforms.linux;
license = licenses.gpl2;
maintainers = [ maintainers.juliendehos ];
};
}