1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/desktops/lxqt/lxqt-notificationd/default.nix

45 lines
1 KiB
Nix
Raw Normal View History

2017-11-02 01:56:20 +00:00
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, qtx11extras }:
2016-10-03 22:55:22 +01:00
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "lxqt-notificationd";
2018-05-22 14:53:21 +01:00
version = "0.13.0";
2016-10-03 22:55:22 +01:00
2017-11-02 01:56:20 +00:00
src = fetchFromGitHub {
owner = "lxqt";
2016-10-03 22:55:22 +01:00
repo = pname;
rev = version;
2018-05-22 14:53:21 +01:00
sha256 = "0vjpl3ipc0hrz255snkp99h6xrlid490ml8jb588rdpfina66sp1";
2016-10-03 22:55:22 +01:00
};
2017-02-19 13:15:20 +00:00
nativeBuildInputs = [
cmake
2017-02-25 15:44:29 +00:00
lxqt-build-tools
2017-02-19 13:15:20 +00:00
];
2016-10-03 22:55:22 +01:00
2017-11-02 01:56:20 +00:00
postPatch = ''
substituteInPlace autostart/CMakeLists.txt \
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
'';
2016-10-03 22:55:22 +01:00
buildInputs = [
2017-02-25 15:44:29 +00:00
qtbase
qttools
qtsvg
kwindowsystem
liblxqt
libqtxdg
qtx11extras
2016-10-03 22:55:22 +01:00
];
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
meta = with stdenv.lib; {
description = "The LXQt notification daemon";
homepage = https://github.com/lxqt/lxqt-notificationd;
2016-10-03 22:55:22 +01:00
license = licenses.lgpl21;
platforms = with platforms; unix;
2017-02-19 13:15:20 +00:00
maintainers = with maintainers; [ romildo ];
2016-10-03 22:55:22 +01:00
};
}