12 , gobject-introspection
33 stdenv.mkDerivation (finalAttrs: rec {
34 pname = "SwayNotificationCenter";
37 src = fetchFromGitHub {
41 hash = "sha256-SR3FfEit50y4XSCLh3raUoigRNXpxh0mk4qLhQ/FozM=";
44 # build pkg-config is required to locate the native `scdoc` input
45 depsBuildBuild = [ pkg-config ];
49 # cmake # currently conflicts with meson
78 # systemd # ends with broken permission
82 chmod +x build-aux/meson/postinstall.py
83 patchShebangs build-aux/meson/postinstall.py
84 substituteInPlace src/functions.vala --replace "/usr/local/etc/xdg/swaync" "$out/etc/xdg/swaync"
87 passthru.tests.version = testers.testVersion {
88 package = finalAttrs.finalPackage;
89 command = "${xvfb-run}/bin/xvfb-run swaync --version";
93 description = "Simple notification daemon with a GUI built for Sway";
94 homepage = "https://github.com/ErikReider/SwayNotificationCenter";
95 changelog = "https://github.com/ErikReider/SwayNotificationCenter/releases/tag/v${version}";
96 license = licenses.gpl3;
97 platforms = platforms.linux;
98 mainProgram = "swaync";
99 maintainers = with maintainers; [ berbiche pedrohlc ];