From bec679780d30b5dde09db6333cb1a4fb6e630441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Mon, 3 Oct 2016 18:55:22 -0300 Subject: [PATCH] lxqt-notificationd: init at 0.11.0 --- .../lxqt/core/lxqt-notificationd/default.nix | 35 +++++++++++++++++++ pkgs/desktops/lxqt/default.nix | 1 + 2 files changed, 36 insertions(+) create mode 100644 pkgs/desktops/lxqt/core/lxqt-notificationd/default.nix diff --git a/pkgs/desktops/lxqt/core/lxqt-notificationd/default.nix b/pkgs/desktops/lxqt/core/lxqt-notificationd/default.nix new file mode 100644 index 00000000000..1ecef633494 --- /dev/null +++ b/pkgs/desktops/lxqt/core/lxqt-notificationd/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "lxqt-notificationd"; + version = "0.11.0"; + + srcs = fetchFromGitHub { + owner = "lxde"; + repo = pname; + rev = version; + sha256 = "001xcvmg7ap5pbssc9pqp4jshgq2h4zxk9rra76xnrby6k8n6p3x"; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ + qt5.qtbase + qt5.qttools + qt5.qtsvg + kde5.kwindowsystem + lxqt.liblxqt + lxqt.libqtxdg + ]; + + cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ]; + + meta = with stdenv.lib; { + description = "The LXQt notification daemon"; + homepage = https://github.com/lxde/lxqt-notificationd; + license = licenses.lgpl21; + maintainers = with maintainers; [ romildo ]; + platforms = with platforms; unix; + }; +} diff --git a/pkgs/desktops/lxqt/default.nix b/pkgs/desktops/lxqt/default.nix index 7c4eb63790f..52f1961e6d7 100644 --- a/pkgs/desktops/lxqt/default.nix +++ b/pkgs/desktops/lxqt/default.nix @@ -38,5 +38,6 @@ let lxqt-common = callPackage ./core/lxqt-common { }; lxqt-config = callPackage ./core/lxqt-config { }; lxqt-globalkeys = callPackage ./core/lxqt-globalkeys { }; + lxqt-notificationd = callPackage ./core/lxqt-notificationd { }; in self