nixpkgs/pkgs/desktops/lxqt/obconf-qt/default.nix
2020-04-29 16:12:26 -03:00

54 lines
945 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, pcre
, qtbase
, qttools
, qtx11extras
, xorg
, lxqt-build-tools
, openbox
, lxqtUpdateScript
}:
mkDerivation rec {
pname = "obconf-qt";
version = "0.14.1";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "15dizs072ylmld1lxwgqkvybqy8ms8zki5586xm305jnlmrkb4lq";
};
nativeBuildInputs = [
cmake
pkgconfig
lxqt-build-tools
];
buildInputs = [
pcre
qtbase
qttools
qtx11extras
xorg.libpthreadstubs
xorg.libXdmcp
xorg.libSM
openbox
];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
description = "The Qt port of obconf, the Openbox configuration tool";
homepage = "https://github.com/lxqt/obconf-qt";
license = licenses.gpl2;
platforms = with platforms; unix;
maintainers = with maintainers; [ romildo ];
};
}