nixpkgs-suyu/pkgs/desktops/pantheon/apps/switchboard-plugs/notifications/default.nix

46 lines
983 B
Nix
Raw Normal View History

2018-08-20 22:31:18 +02:00
{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig
, vala, libgee, granite, gtk3, switchboard, gobject-introspection }:
stdenv.mkDerivation rec {
pname = "switchboard-plug-notifications";
version = "2.1.5";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "0p0aj3bbjrh6x8wajqqb5yqm2iqfnj7kp16zf4hdr4siw0sx5p8n";
};
passthru = {
updateScript = pantheon.updateScript {
repoName = pname;
};
};
nativeBuildInputs = [
gobject-introspection
meson
ninja
pkgconfig
vala
];
buildInputs = [
granite
gtk3
libgee
switchboard
];
PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "lib/switchboard";
meta = with stdenv.lib; {
description = "Switchboard Notifications Plug";
homepage = https://github.com/elementary/switchboard-plug-notifications;
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = pantheon.maintainers;
};
}