nixpkgs/pkgs/desktops/lxqt/lxqt-runner/default.nix
2024-04-19 14:38:59 -03:00

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.0.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-r9rz6rJX60+1/+Wd5APobyZRioXzD1xveFIMToTvpXQ=";
};
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;
};
}