1 { lib, stdenv, fetchurl, qtbase, qtsvg, qttools, qmake }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/qwt/qwt-${version}.tar.bz2";
9 sha256 = "sha256-mUYNMcEV7kEXsBddiF9HwsWQ14QgbwmBXcBY++Xt4fY=";
12 propagatedBuildInputs = [ qtbase qtsvg qttools ];
13 nativeBuildInputs = [ qmake ];
16 sed -e "s|QWT_INSTALL_PREFIX.*=.*|QWT_INSTALL_PREFIX = $out|g" -i qwtconfig.pri
19 qmakeFlags = [ "-after doc.path=$out/share/doc/qwt-${version}" ];
21 dontWrapQtApps = true;
24 description = "Qt widgets for technical applications";
25 homepage = "http://qwt.sourceforge.net/";
26 # LGPL 2.1 plus a few exceptions (more liberal)
27 license = licenses.qwt;
28 platforms = platforms.unix;
29 maintainers = [ maintainers.bjornfor ];