nixpkgs/pkgs/desktops/lxqt/core/lxqt-notificationd/default.nix

45 lines
1.0 KiB
Nix
Raw Normal View History

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