1 { lib, stdenv, fetchFromGitHub, qmake, qtbase, qtxmlpatterns, qtsvg, qtscxml
4 stdenv.mkDerivation rec {
8 outputs = [ "out" "doc" ];
10 src = fetchFromGitHub {
14 hash = "sha256-UzN5U+aC/uKokSdeUG2zv8+mkaH4ndYZ0sfzkpQ3l1M=";
17 nativeBuildInputs = [ qmake ];
19 buildInputs = [ qtbase qtxmlpatterns qtsvg qtscxml libGLU ];
21 qmakeFlags = [ "CONFIG+=release" ];
24 export QXMLEDIT_INST_DATA_DIR="$out/share/data"
25 export QXMLEDIT_INST_TRANSLATIONS_DIR="$out/share/i18n"
26 export QXMLEDIT_INST_INCLUDE_DIR="$out/include"
27 export QXMLEDIT_INST_DIR="$out/bin"
28 export QXMLEDIT_INST_LIB_DIR="$out/lib"
29 export QXMLEDIT_INST_DOC_DIR="$doc"
32 dontWrapQtApps = true;
35 broken = stdenv.hostPlatform.isDarwin;
36 description = "Simple XML editor based on qt libraries";
37 homepage = "https://sourceforge.net/projects/qxmledit";
38 license = licenses.lgpl2;
39 platforms = platforms.unix;
40 changelog = "https://github.com/lbellonda/qxmledit/blob/${version}/NEWS";
41 mainProgram = "qxmledit";