depot/third_party/nixpkgs/pkgs/desktops/lxqt/lxqt-runner/default.nix

67 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
kwindowsystem,
layer-shell-qt,
liblxqt,
libqtxdg,
lxqt-build-tools,
lxqt-globalkeys,
menu-cache,
muparser,
pcre,
pkg-config,
qtbase,
qtsvg,
qttools,
qtwayland,
wrapQtAppsHook,
gitUpdater,
}:
stdenv.mkDerivation rec {
pname = "lxqt-runner";
version = "2.1.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-NsAlaoWMvisRZ04KkrQzwi5B2eXnaHqg0HtYG4NKLcs=";
};
nativeBuildInputs = [
cmake
pkg-config
lxqt-build-tools
qttools
wrapQtAppsHook
];
buildInputs = [
kwindowsystem
layer-shell-qt
liblxqt
libqtxdg
lxqt-globalkeys
menu-cache
muparser
pcre
qtbase
qtsvg
qtwayland
];
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://github.com/lxqt/lxqt-runner";
description = "Tool used to launch programs quickly by typing their names";
mainProgram = "lxqt-runner";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = teams.lxqt.members;
};
}