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

45 lines
1 KiB
Nix
Raw Normal View History

2017-11-02 02:56:20 +01:00
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, qtx11extras }:
2016-10-03 23:55:22 +02:00
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "lxqt-notificationd";
2017-11-02 02:56:20 +01:00
version = "0.12.0";
2016-10-03 23:55:22 +02:00
2017-11-02 02:56:20 +01:00
src = fetchFromGitHub {
2016-10-03 23:55:22 +02:00
owner = "lxde";
repo = pname;
rev = version;
2017-11-02 02:56:20 +01:00
sha256 = "0pmpdqgnb2dfxw5lirh89j8hnrwwcn2zc64byg4zi0xdvq6qms43";
2016-10-03 23:55:22 +02:00
};
2017-02-19 14:15:20 +01:00
nativeBuildInputs = [
cmake
2017-02-25 16:44:29 +01:00
lxqt-build-tools
2017-02-19 14:15:20 +01:00
];
2016-10-03 23:55:22 +02:00
2017-11-02 02:56:20 +01:00
postPatch = ''
substituteInPlace autostart/CMakeLists.txt \
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
'';
2016-10-03 23:55:22 +02:00
buildInputs = [
2017-02-25 16:44:29 +01:00
qtbase
qttools
qtsvg
kwindowsystem
liblxqt
libqtxdg
qtx11extras
2016-10-03 23:55:22 +02: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 14:15:20 +01:00
maintainers = with maintainers; [ romildo ];
2016-10-03 23:55:22 +02:00
};
}