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