From d1313ec921cdec7746647423db5fb8f2c90fe07c Mon Sep 17 00:00:00 2001 From: Simon Streit Date: Thu, 16 Nov 2023 02:15:48 +0100 Subject: siguix: Add swaynotificationcenter. * siguix/packages/swaynotificationcenter.scm (swaynotificationcenter): New variable. --- siguix/packages/swaynotificationcenter.scm | 162 +++++++++++++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100644 siguix/packages/swaynotificationcenter.scm diff --git a/siguix/packages/swaynotificationcenter.scm b/siguix/packages/swaynotificationcenter.scm new file mode 100644 index 0000000..99f7445 --- /dev/null +++ b/siguix/packages/swaynotificationcenter.scm @@ -0,0 +1,162 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2015 Eric Dvorsak +;;; Copyright © 2015 Siniša Biđin +;;; Copyright © 2015, 2016, 2022 Eric Bavier +;;; Copyright © 2015 xd1le +;;; Copyright © 2015 Paul van der Walt +;;; Copyright © 2016 Danny Milosavljevic +;;; Copyright © 2016, 2019, 2020, 2023 Efraim Flashner +;;; Copyright © 2016 Al McElrath +;;; Copyright © 2016 Carlo Zancanaro +;;; Copyright © 2016 2019, 2021-2022 Ludovic Courtès +;;; Copyright © 2016, 2017, 2018, 2020 Nikita +;;; Copyright © 2016 doncatnip +;;; Copyright © 2016 Ivan Vilata i Balaguer +;;; Copyright © 2017 Mekeor Melire +;;; Copyright © 2017, 2019, 2020 Marius Bakke +;;; Copyright © 2017, 2020, 2021 Oleg Pykhalov +;;; Copyright © 2018–2021 Tobias Geerinckx-Rice +;;; Copyright © 2018 Pierre-Antoine Rouby +;;; Copyright © 2018, 2019 Meiyo Peng +;;; Copyright © 2019 Rutger Helling +;;; Copyright © 2019 Timothy Sample +;;; Copyright © 2019 Gábor Boskovits +;;; Copyright © 2019 Kyle Andrews +;;; Copyright © 2019 Ingo Ruhnke +;;; Copyright © 2019 Tanguy Le Carrour +;;; Copyright © 2019 John Soo +;;; Copyright © 2018, 2019 Pierre Langlois +;;; Copyright © 2016, 2017 Andy Patterson +;;; Copyright © 2019 Evan Straw +;;; Copyright © 2019 Brett Gilio +;;; Copyright © 2019 Noodles! +;;; Copyright © 2019, 2020 Alexandru-Sergiu Marton +;;; Copyright © 2020, 2021 Nicolas Goaziou +;;; Copyright © 2020 Brice Waegeneire +;;; Copyright © 2020 Boris A. Dekshteyn +;;; Copyright © 2020 Marcin Karpezo +;;; Copyright © 2020 EuAndreh +;;; Copyright © 2020 Michael Rohleder +;;; Copyright © 2020, 2022, 2023 Guillaume Le Vaillant +;;; Copyright © 2020 B. Wilson +;;; Copyright © 2020 Niklas Eklund +;;; Copyright © 2020 Robert Smith +;;; Copyright © 2021 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2021 Sharlatan Hellseher +;;; Copyright © 2021 qblade +;;; Copyright © 2021 lasnesne +;;; Copyright © 2021, 2022 Petr Hodina +;;; Copyright © 2021, 2023 jgart +;;; Copyright © 2021 Disseminate Dissent +;;; Copyright © 2022 John Kehayias +;;; Copyright © 2022 Gabriel Wicki +;;; Copyright © 2022 Jai Vetrivelan +;;; Copyright © 2022 Daniel Meißner +;;; Copyright © 2022 Pier-Hugues Pellerin +;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2022 muradm +;;; Copyright © 2022 Elais Player +;;; Copyright © 2022, 2023 Trevor Richards +;;; Copyright © 2022 Fredrik Salomonsson +;;; Copyright © 2022 ( +;;; Copyright © 2022 zamfofex +;;; Copyright © 2023 Gabriel Wicki +;;; Copyright © 2023 Jonathan Brielamier +;;; Copyright © 2023 Vessel Wave +;;; Copyright © 2023 Nicolas Graves +;;; Copyright © 2023 Jaeme Sifat +;;; Copyright © 2023 Simon Streit +;;; +;;; This file is part NOT of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (siguix packages swaynotificationcenter) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module (guix build-system asdf) + #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) + #:use-module (guix build-system gnu) + #:use-module (guix build-system haskell) + #:use-module (guix build-system meson) + #:use-module (guix build-system perl) + #:use-module (guix build-system python) + #:use-module (guix build-system trivial) + #:use-module (guix utils) + #:use-module (gnu packages) + #:use-module (gnu packages bash) + #:use-module (gnu packages freedesktop) + #:use-module (gnu packages glib) + #:use-module (gnu packages gnome) + #:use-module (gnu packages gtk) + #:use-module (gnu packages man) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages pulseaudio) + #:use-module (gnu packages python)) + +(define-public swaynotificationcenter + (package + (name "swaynotificationcenter") + (version "0.9.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ErikReider/SwayNotificationCenter") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "049hkib7vaa48ndjjs57gsj6a48914k9vxrdacbkbxhxrr71434v")))) + (build-system meson-build-system) + (arguments (list #:configure-flags #~(list "-Dsystemd-service=false"))) + (native-inputs + (list `(,glib "bin") + gobject-introspection + pkg-config + python-minimal + scdoc + vala)) + (inputs + (list json-glib + glib + gtk+ + gtk-layer-shell + libhandy + libgee + pulseaudio + wayland-protocols)) + (synopsis "Notification daemon with a graphical interface") + (description + "This package provides a notification daemon for the Sway Wayland +compository, supporting the following featuers: + +@itemize +@item Keyboard shortcuts +@item Notification body markup with image support +@item A panel to view previous notifications +@item Show album art for notifications like Spotify +@item Do not disturb +@item Click notification to execute default action +@item Show alternative notification actions +@item Customization through a CSS file +@item Trackpad/mouse gesture to close notification +@item The same features as any other basic notification daemon +@item Basic configuration through a JSON config file +@item Hot-reload config through swaync-client +@end itemize") + (home-page "https://github.com/ErikReider/SwayNotificationCenter") + (license license:expat))) -- cgit v1.2.3