nixpkgs/pkgs/desktops/lxqt/obconf-qt/default.nix
2024-11-03 09:47:26 -03:00

59 lines
975 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, libSM
, libXdmcp
, libpthreadstubs
, lxqt-build-tools
, openbox
, pcre
, pkg-config
, qtbase
, qttools
, qtwayland
, wrapQtAppsHook
, gitUpdater
}:
stdenv.mkDerivation rec {
pname = "obconf-qt";
version = "0.16.5";
src = fetchFromGitHub {
owner = "lxqt";
repo = "obconf-qt";
rev = version;
hash = "sha256-C7s312DeLiustPBBY4OdjYvN7X6noktLA8LuhlOaVRo=";
};
nativeBuildInputs = [
cmake
pkg-config
lxqt-build-tools
qttools
wrapQtAppsHook
];
buildInputs = [
libSM
libXdmcp
libpthreadstubs
openbox
pcre
qtbase
qtwayland
];
passthru.updateScript = gitUpdater { };
meta = {
homepage = "https://github.com/lxqt/obconf-qt";
description = "Qt port of obconf, the Openbox configuration tool";
mainProgram = "obconf-qt";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
maintainers = lib.teams.lxqt.members;
};
}