@@ -0,0 +1,41 @@
1+{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, xorg, lxqt,
2+openbox, hicolor_icon_theme }:
3+
4+stdenv.mkDerivation rec {
5+ name = "${pname}-${version}";
6+ pname = "obconf-qt";
7+ version = "0.11.0";
8+
9+ srcs = fetchFromGitHub {
10+ owner = "lxde";
11+ repo = pname;
12+ rev = version;
13+ sha256 = "1q3y4sc1kg3hw4869rx4g08y85rnvnxgk8rf8h6amkf5r5561iyk";
14+ };
15+
16+ nativeBuildInputs = [ cmake pkgconfig ];
17+
18+ buildInputs = [
19+ qt5.qtbase
20+ qt5.qttools
21+ qt5.qtx11extras
22+ qt5.qtsvg
23+ kde5.kwindowsystem
24+ lxqt.liblxqt
25+ lxqt.libqtxdg
26+ xorg.libpthreadstubs
27+ xorg.libXdmcp
28+ openbox
29+ hicolor_icon_theme
30+ ];
31+
32+ cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
33+
34+ meta = with stdenv.lib; {
35+ description = "The Qt port of obconf, the Openbox configuration tool";
36+ homepage = https://github.com/lxde/obconf-qt;
37+ license = licenses.gpl2;
38+ maintainers = with maintainers; [ romildo ];
39+ platforms = with platforms; unix;
40+ };
41+}