Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.6 kB · 83 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384{ lib, stdenv, fetchFromGitHub, cmake, boost, pkg-config, doxygen, qtbase, libharu, pango, fcgi, firebird, libmysqlclient, libpq, graphicsmagick, glew, openssl, harfbuzz, icu,}:
let generic = { version, sha256 }: stdenv.mkDerivation { pname = "wt"; inherit version;
src = fetchFromGitHub { owner = "emweb"; repo = "wt"; rev = version; inherit sha256; };
nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ boost doxygen qtbase libharu pango fcgi firebird libmysqlclient libpq graphicsmagick glew openssl harfbuzz icu ];
dontWrapQtApps = true; cmakeFlags = [ "-DWT_CPP_11_MODE=-std=c++11" "--no-warn-unused-cli" ] ++ lib.optionals (graphicsmagick != null) [ "-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick" "-DGM_PREFIX=${graphicsmagick}" ] ++ lib.optional (libmysqlclient != null) "-DMYSQL_PREFIX=${libmysqlclient}";
meta = with lib; { homepage = "https://www.webtoolkit.eu/wt"; description = "C++ library for developing web applications"; platforms = platforms.linux; license = licenses.gpl2; maintainers = with maintainers; [ juliendehos ]; }; };in{ wt4 = generic { version = "4.11.4"; sha256 = "sha256-ynmOUONHo8VTq8nmD+/SpDPR7bHILw8mArvY2DZJ5Hk="; };}