2017-11-02 02:02:50 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, pcre, qt5, xorg, lxqt, openbox, hicolor_icon_theme }:
|
2016-10-07 10:57:25 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "obconf-qt";
|
2017-11-02 02:02:50 +00:00
|
|
|
version = "0.12.0";
|
2016-10-07 10:57:25 +01:00
|
|
|
|
2017-11-02 02:02:50 +00:00
|
|
|
src = fetchFromGitHub {
|
2016-10-07 10:57:25 +01:00
|
|
|
owner = "lxde";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2017-11-02 02:02:50 +00:00
|
|
|
sha256 = "1vwza1516z7f18s5vfnhzsiyxs6afb1hgr3yqkr7qhplmq5wjma5";
|
2016-10-07 10:57:25 +01:00
|
|
|
};
|
|
|
|
|
2017-02-19 12:02:17 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkgconfig
|
|
|
|
lxqt.lxqt-build-tools
|
|
|
|
];
|
2016-10-07 10:57:25 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
2017-11-02 02:02:50 +00:00
|
|
|
pcre
|
2016-10-07 10:57:25 +01:00
|
|
|
qt5.qtbase
|
|
|
|
qt5.qttools
|
|
|
|
qt5.qtx11extras
|
|
|
|
xorg.libpthreadstubs
|
|
|
|
xorg.libXdmcp
|
2017-02-19 12:02:17 +00:00
|
|
|
xorg.libSM
|
2016-10-07 10:57:25 +01:00
|
|
|
openbox
|
|
|
|
hicolor_icon_theme
|
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The Qt port of obconf, the Openbox configuration tool";
|
|
|
|
homepage = https://github.com/lxde/obconf-qt;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = with platforms; unix;
|
2017-02-19 12:02:17 +00:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-07 10:57:25 +01:00
|
|
|
};
|
|
|
|
}
|