nixpkgs/pkgs/desktops/lxqt/lxqt-runner/default.nix
2021-01-16 23:49:59 -08: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 = "0.16.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "0bmx5y4l443j8vrzw8967kw5i150braq0pfj8xk0nyz6zz62rrf1";
};
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; {
description = "Tool used to launch programs quickly by typing their names";
homepage = "https://github.com/lxqt/lxqt-runner";
license = licenses.lgpl21;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}