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

51 lines
1.2 KiB
Nix
Raw Normal View History

2017-11-02 01:58:43 +00:00
{ stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, lxqt-globalkeys, qtx11extras,
menu-cache, muparser, pcre }:
2016-10-03 22:05:01 +00:00
stdenv.mkDerivation rec {
pname = "lxqt-runner";
2019-02-26 21:31:36 +00:00
version = "0.14.1";
2016-10-03 22:05:01 +00:00
2017-11-02 01:58:43 +00:00
src = fetchFromGitHub {
owner = "lxqt";
2016-10-03 22:05:01 +00:00
repo = pname;
rev = version;
2019-02-26 21:31:36 +00:00
sha256 = "01a8ycpkzcbh85y4025pd3nbpnzxh98ll1xwz4ykz13yvm0l2n1w";
2016-10-03 22:05:01 +00:00
};
2017-02-19 13:56:07 +00:00
nativeBuildInputs = [
cmake
pkgconfig
2017-02-25 15:44:29 +00:00
lxqt-build-tools
2017-02-19 13:56:07 +00:00
];
2016-10-03 22:05:01 +00:00
buildInputs = [
2017-02-25 15:44:29 +00:00
qtbase
qttools
qtsvg
2017-08-19 23:12:32 +00:00
qtx11extras
2017-02-25 15:44:29 +00:00
kwindowsystem
liblxqt
libqtxdg
lxqt-globalkeys
2016-10-03 22:05:01 +00:00
menu-cache
muparser
2017-11-02 01:58:43 +00:00
pcre
2016-10-03 22:05:01 +00:00
];
2017-11-02 01:58:43 +00:00
postPatch = ''
substituteInPlace autostart/CMakeLists.txt \
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
2019-02-05 23:14:01 +00:00
substituteInPlace CMakeLists.txt \
--replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations"
2017-11-02 01:58:43 +00:00
'';
2016-10-03 22:05:01 +00:00
meta = with stdenv.lib; {
description = "Tool used to launch programs quickly by typing their names";
homepage = https://github.com/lxqt/lxqt-runner;
2016-10-03 22:05:01 +00:00
license = licenses.lgpl21;
platforms = with platforms; unix;
2017-02-19 13:56:07 +00:00
maintainers = with maintainers; [ romildo ];
2016-10-03 22:05:01 +00:00
};
}