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