1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/desktops/lxqt/lxqt-runner/default.nix

51 lines
1.1 KiB
Nix
Raw Normal View History

2017-11-01 21:58:43 -04:00
{ stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, lxqt-globalkeys, qtx11extras,
menu-cache, muparser, pcre }:
2016-10-03 18:05:01 -04:00
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "lxqt-runner";
2018-05-22 09:53:50 -04:00
version = "0.13.0";
2016-10-03 18:05:01 -04:00
2017-11-01 21:58:43 -04:00
src = fetchFromGitHub {
owner = "lxqt";
2016-10-03 18:05:01 -04:00
repo = pname;
rev = version;
2018-05-22 09:53:50 -04:00
sha256 = "0w6r9lby35p0lf5klasa5l2lscx6dmv16kzfhl4lc6w2qfwjb9vi";
2016-10-03 18:05:01 -04:00
};
2017-02-19 08:56:07 -05:00
nativeBuildInputs = [
cmake
pkgconfig
2017-02-25 10:44:29 -05:00
lxqt-build-tools
2017-02-19 08:56:07 -05:00
];
2016-10-03 18:05:01 -04:00
buildInputs = [
2017-02-25 10:44:29 -05:00
qtbase
qttools
qtsvg
2017-08-19 19:12:32 -04:00
qtx11extras
2017-02-25 10:44:29 -05:00
kwindowsystem
liblxqt
libqtxdg
lxqt-globalkeys
2016-10-03 18:05:01 -04:00
menu-cache
muparser
2017-11-01 21:58:43 -04:00
pcre
2016-10-03 18:05:01 -04:00
];
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
2017-11-01 21:58:43 -04:00
postPatch = ''
substituteInPlace autostart/CMakeLists.txt \
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
'';
2016-10-03 18:05:01 -04: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 18:05:01 -04:00
license = licenses.lgpl21;
platforms = with platforms; unix;
2017-02-19 08:56:07 -05:00
maintainers = with maintainers; [ romildo ];
2016-10-03 18:05:01 -04:00
};
}