Merge pull request #186965 from PedroHLC/swaync-settings-schema
swaynotificationcenter: compile schema
This commit is contained in:
commit
48bb729ba5
1 changed files with 59 additions and 16 deletions
|
@ -1,25 +1,29 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, testers
|
||||||
|
, wrapGAppsHook
|
||||||
|
, bash-completion
|
||||||
|
, dbus
|
||||||
|
, dbus-glib
|
||||||
|
, fish
|
||||||
|
, gdk-pixbuf
|
||||||
|
, glib
|
||||||
|
, gobject-introspection
|
||||||
|
, gtk-layer-shell
|
||||||
|
, gtk3
|
||||||
|
, json-glib
|
||||||
|
, libhandy
|
||||||
|
, librsvg
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, scdoc
|
, scdoc
|
||||||
, vala
|
, vala
|
||||||
, gtk3
|
, xvfb-run
|
||||||
, glib
|
|
||||||
, gtk-layer-shell
|
|
||||||
, dbus
|
|
||||||
, dbus-glib
|
|
||||||
, json-glib
|
|
||||||
, librsvg
|
|
||||||
, libhandy
|
|
||||||
, gobject-introspection
|
|
||||||
, gdk-pixbuf
|
|
||||||
, wrapGAppsHook
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: rec {
|
||||||
pname = "SwayNotificationCenter";
|
pname = "SwayNotificationCenter";
|
||||||
version = "0.6.3";
|
version = "0.6.3";
|
||||||
|
|
||||||
|
@ -30,15 +34,54 @@ stdenv.mkDerivation rec {
|
||||||
hash = "sha256-79Kda2Mi2r38f0J12bRm9wbHiZCy9+ojPDxwlFG8EYw=";
|
hash = "sha256-79Kda2Mi2r38f0J12bRm9wbHiZCy9+ojPDxwlFG8EYw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ gobject-introspection meson ninja pkg-config scdoc vala wrapGAppsHook ];
|
nativeBuildInputs = [
|
||||||
|
bash-completion
|
||||||
|
# cmake # currently conflicts with meson
|
||||||
|
fish
|
||||||
|
glib
|
||||||
|
gobject-introspection
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
scdoc
|
||||||
|
vala
|
||||||
|
wrapGAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ dbus dbus-glib gdk-pixbuf glib gtk-layer-shell gtk3 json-glib libhandy librsvg ];
|
buildInputs = [
|
||||||
|
dbus
|
||||||
|
dbus-glib
|
||||||
|
gdk-pixbuf
|
||||||
|
glib
|
||||||
|
gtk-layer-shell
|
||||||
|
gtk3
|
||||||
|
json-glib
|
||||||
|
libhandy
|
||||||
|
librsvg
|
||||||
|
# systemd # ends with broken permission
|
||||||
|
];
|
||||||
|
|
||||||
|
# Fix-Me: Broken in 0.6.3, but fixed on master. Enable on next release. Requires python3 in nativeBuildInputs.
|
||||||
|
# postPatch = ''
|
||||||
|
# chmod +x build-aux/meson/postinstall.py
|
||||||
|
# patchShebangs build-aux/meson/postinstall.py
|
||||||
|
# '';
|
||||||
|
|
||||||
|
# Remove past 0.6.3
|
||||||
|
postInstall = ''
|
||||||
|
glib-compile-schemas "$out"/share/glib-2.0/schemas
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru.tests.version = testers.testVersion {
|
||||||
|
package = finalAttrs.finalPackage;
|
||||||
|
command = "${xvfb-run}/bin/xvfb-run swaync --version";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple notification daemon with a GUI built for Sway";
|
description = "Simple notification daemon with a GUI built for Sway";
|
||||||
homepage = "https://github.com/ErikReider/SwayNotificationCenter";
|
homepage = "https://github.com/ErikReider/SwayNotificationCenter";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.berbiche ];
|
maintainers = with maintainers; [ berbiche pedrohlc ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue