2018-02-25 03:23:58 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, pcre, qt5, xorg, lxqt, openbox, hicolor-icon-theme }:
|
2016-10-07 11:57:25 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "obconf-qt";
|
2018-06-24 04:43:11 +02:00
|
|
|
version = "0.13.0";
|
2016-10-07 11:57:25 +02:00
|
|
|
|
2017-11-02 03:02:50 +01:00
|
|
|
src = fetchFromGitHub {
|
2018-05-22 03:24:38 +02:00
|
|
|
owner = "lxqt";
|
2016-10-07 11:57:25 +02:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2018-06-24 04:43:11 +02:00
|
|
|
sha256 = "0mixf35p7b563f77vnikk9b1wqhbdawp723sd30rfql76gkjwjcn";
|
2016-10-07 11:57:25 +02:00
|
|
|
};
|
|
|
|
|
2017-02-19 13:02:17 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkgconfig
|
|
|
|
lxqt.lxqt-build-tools
|
|
|
|
];
|
2016-10-07 11:57:25 +02:00
|
|
|
|
|
|
|
buildInputs = [
|
2017-11-02 03:02:50 +01:00
|
|
|
pcre
|
2016-10-07 11:57:25 +02:00
|
|
|
qt5.qtbase
|
|
|
|
qt5.qttools
|
|
|
|
qt5.qtx11extras
|
|
|
|
xorg.libpthreadstubs
|
|
|
|
xorg.libXdmcp
|
2017-02-19 13:02:17 +01:00
|
|
|
xorg.libSM
|
2016-10-07 11:57:25 +02:00
|
|
|
openbox
|
2018-02-25 03:23:58 +01:00
|
|
|
hicolor-icon-theme
|
2016-10-07 11:57:25 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The Qt port of obconf, the Openbox configuration tool";
|
2018-05-22 03:24:38 +02:00
|
|
|
homepage = https://github.com/lxqt/obconf-qt;
|
2016-10-07 11:57:25 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = with platforms; unix;
|
2017-02-19 13:02:17 +01:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-07 11:57:25 +02:00
|
|
|
};
|
|
|
|
}
|