nixpkgs/pkgs/desktops/lxqt/lxqt-runner/default.nix
2021-11-05 14:35:01 -03:00

62 lines
1 KiB
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkg-config
, lxqt-build-tools
, qtbase
, qttools
, qtsvg
, kwindowsystem
, liblxqt
, libqtxdg
, lxqt-globalkeys
, qtx11extras
, menu-cache
, muparser
, pcre
, lxqtUpdateScript
}:
mkDerivation rec {
pname = "lxqt-runner";
version = "1.0.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "06b7l2jkh0h4ikddh82nxkz7qhg5ap7l016klg3jl2x659z59hpj";
};
nativeBuildInputs = [
cmake
pkg-config
lxqt-build-tools
];
buildInputs = [
qtbase
qttools
qtsvg
qtx11extras
kwindowsystem
liblxqt
libqtxdg
lxqt-globalkeys
menu-cache
muparser
pcre
];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
homepage = "https://github.com/lxqt/lxqt-runner";
description = "Tool used to launch programs quickly by typing their names";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}