From a5bbe8970ff04d0589d5b2ad93db41917d86d41b Mon Sep 17 00:00:00 2001 From: romildo Date: Fri, 7 Oct 2016 06:57:25 -0300 Subject: [PATCH] obconf-qt: init at 0.11.0 --- .../services/x11/desktop-managers/lxqt.nix | 1 + pkgs/desktops/lxqt/default.nix | 1 + .../lxqt/optional/obconf-qt/default.nix | 41 +++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 pkgs/desktops/lxqt/optional/obconf-qt/default.nix diff --git a/nixos/modules/services/x11/desktop-managers/lxqt.nix b/nixos/modules/services/x11/desktop-managers/lxqt.nix index c4fe207df912..810b0125a22d 100644 --- a/nixos/modules/services/x11/desktop-managers/lxqt.nix +++ b/nixos/modules/services/x11/desktop-managers/lxqt.nix @@ -57,6 +57,7 @@ in pkgs.lxqt.lxqt-runner pkgs.lxqt.lxqt-session pkgs.lxqt.lxqt-sudo + pkgs.lxqt.obconf-qt pkgs.lxqt.pavucontrol-qt pkgs.lxqt.pcmanfm-qt pkgs.lxqt.qterminal diff --git a/pkgs/desktops/lxqt/default.nix b/pkgs/desktops/lxqt/default.nix index 123b5f94acff..2ef49ff2e4ed 100644 --- a/pkgs/desktops/lxqt/default.nix +++ b/pkgs/desktops/lxqt/default.nix @@ -57,6 +57,7 @@ let ### OPTIONAL qterminal = callPackage ./optional/qterminal { }; compton-conf = callPackage ./optional/compton-conf { }; + obconf-qt = callPackage ./optional/obconf-qt { }; }; diff --git a/pkgs/desktops/lxqt/optional/obconf-qt/default.nix b/pkgs/desktops/lxqt/optional/obconf-qt/default.nix new file mode 100644 index 000000000000..381c998616f5 --- /dev/null +++ b/pkgs/desktops/lxqt/optional/obconf-qt/default.nix @@ -0,0 +1,41 @@ +{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, xorg, lxqt, +openbox, hicolor_icon_theme }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "obconf-qt"; + version = "0.11.0"; + + srcs = fetchFromGitHub { + owner = "lxde"; + repo = pname; + rev = version; + sha256 = "1q3y4sc1kg3hw4869rx4g08y85rnvnxgk8rf8h6amkf5r5561iyk"; + }; + + nativeBuildInputs = [ cmake pkgconfig ]; + + buildInputs = [ + qt5.qtbase + qt5.qttools + qt5.qtx11extras + qt5.qtsvg + kde5.kwindowsystem + lxqt.liblxqt + lxqt.libqtxdg + xorg.libpthreadstubs + xorg.libXdmcp + 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; + maintainers = with maintainers; [ romildo ]; + platforms = with platforms; unix; + }; +}