diff --git a/pkgs/by-name/li/libcava/package.nix b/pkgs/by-name/li/libcava/package.nix index 0067bd5e99df..985c4283fee2 100644 --- a/pkgs/by-name/li/libcava/package.nix +++ b/pkgs/by-name/li/libcava/package.nix @@ -8,13 +8,13 @@ cava.overrideAttrs (old: rec { pname = "libcava"; # fork may not be updated when we update upstream - version = "0.10.6"; + version = "0.10.7"; src = fetchFromGitHub { owner = "LukashonakV"; repo = "cava"; tag = version; - hash = "sha256-63be1wypMiqhPA6sjMebmFE6yKpTj/bUE53sMWun554="; + hash = "sha256-zkyj1vBzHtoypX4Bxdh1Vmwh967DKKxN751v79hzmgQ="; }; nativeBuildInputs = old.nativeBuildInputs ++ [ diff --git a/pkgs/by-name/wl/wl-vapi-gen/package.nix b/pkgs/by-name/wl/wl-vapi-gen/package.nix new file mode 100644 index 000000000000..6b22008deb28 --- /dev/null +++ b/pkgs/by-name/wl/wl-vapi-gen/package.nix @@ -0,0 +1,42 @@ +{ + lib, + stdenv, + fetchFromGitea, + meson, + ninja, + python3, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "wl-vapi-gen"; + version = "1.1.0"; + + strictDeps = true; + __structuredAttrs = true; + + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "kotontrion"; + repo = "wl-vapi-gen"; + tag = finalAttrs.version; + hash = "sha256-Wi6zDrabUjIXJuxRJ9oHYfKF1ULkim/5kHGb+pl0oc4="; + }; + + postPatch = '' + patchShebangs wl-vapi-gen.py + ''; + + nativeBuildInputs = [ + meson + ninja + python3 + ]; + + meta = { + description = "Generate vala bindings for wayland protocols"; + homepage = "https://codeberg.org/kotontrion/wl-vapi-gen"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.PerchunPak ]; + platforms = lib.platforms.all; + }; +}) diff --git a/pkgs/development/libraries/astal/default.nix b/pkgs/development/libraries/astal/default.nix index 227ceb161438..208c9b6f68ec 100644 --- a/pkgs/development/libraries/astal/default.nix +++ b/pkgs/development/libraries/astal/default.nix @@ -9,6 +9,7 @@ self: { auth = self.callPackage ./modules/auth.nix { }; battery = self.callPackage ./modules/battery.nix { }; bluetooth = self.callPackage ./modules/bluetooth.nix { }; + brightness = self.callPackage ./modules/brightness.nix { }; cava = self.callPackage ./modules/cava.nix { }; gjs = self.callPackage ./modules/gjs.nix { }; greet = self.callPackage ./modules/greet.nix { }; @@ -18,7 +19,9 @@ self: { network = self.callPackage ./modules/network.nix { }; notifd = self.callPackage ./modules/notifd.nix { }; powerprofiles = self.callPackage ./modules/powerprofiles.nix { }; + quarrel = self.callPackage ./modules/quarrel.nix { }; river = self.callPackage ./modules/river.nix { }; tray = self.callPackage ./modules/tray.nix { }; wireplumber = self.callPackage ./modules/wireplumber.nix { inherit wireplumber; }; + wl = self.callPackage ./modules/wl.nix { }; } diff --git a/pkgs/development/libraries/astal/modules/brightness.nix b/pkgs/development/libraries/astal/modules/brightness.nix new file mode 100644 index 000000000000..412d881b30c9 --- /dev/null +++ b/pkgs/development/libraries/astal/modules/brightness.nix @@ -0,0 +1,13 @@ +{ + buildAstalModule, + json-glib, + quarrel, +}: +buildAstalModule { + name = "brightness"; + buildInputs = [ + json-glib + quarrel + ]; + meta.description = "Astal module for brightness devices"; +} diff --git a/pkgs/development/libraries/astal/modules/greet.nix b/pkgs/development/libraries/astal/modules/greet.nix index 20be11464cba..f01ef1c3968d 100644 --- a/pkgs/development/libraries/astal/modules/greet.nix +++ b/pkgs/development/libraries/astal/modules/greet.nix @@ -1,6 +1,13 @@ -{ buildAstalModule, json-glib }: +{ + buildAstalModule, + json-glib, + quarrel, +}: buildAstalModule { name = "greet"; - buildInputs = [ json-glib ]; + buildInputs = [ + json-glib + quarrel + ]; meta.description = "Astal module for greetd using IPC"; } diff --git a/pkgs/development/libraries/astal/modules/mpris.nix b/pkgs/development/libraries/astal/modules/mpris.nix index 02fa7c072265..db93f55052a9 100644 --- a/pkgs/development/libraries/astal/modules/mpris.nix +++ b/pkgs/development/libraries/astal/modules/mpris.nix @@ -2,12 +2,16 @@ buildAstalModule, gvfs, json-glib, + libsoup_3, + quarrel, }: buildAstalModule { name = "mpris"; buildInputs = [ gvfs json-glib + libsoup_3 + quarrel ]; meta.description = "Astal module for mpris players"; } diff --git a/pkgs/development/libraries/astal/modules/notifd.nix b/pkgs/development/libraries/astal/modules/notifd.nix index a40e5c54091d..d64ecd38b1d6 100644 --- a/pkgs/development/libraries/astal/modules/notifd.nix +++ b/pkgs/development/libraries/astal/modules/notifd.nix @@ -2,12 +2,14 @@ buildAstalModule, json-glib, gdk-pixbuf, + quarrel, }: buildAstalModule { name = "notifd"; buildInputs = [ json-glib gdk-pixbuf + quarrel ]; meta.description = "Astal module for notification daemon"; } diff --git a/pkgs/development/libraries/astal/modules/quarrel.nix b/pkgs/development/libraries/astal/modules/quarrel.nix new file mode 100644 index 000000000000..ee96c6de22fb --- /dev/null +++ b/pkgs/development/libraries/astal/modules/quarrel.nix @@ -0,0 +1,5 @@ +{ buildAstalModule }: +buildAstalModule { + name = "quarrel"; + meta.description = "Astal module for command line argument parsing"; +} diff --git a/pkgs/development/libraries/astal/modules/river.nix b/pkgs/development/libraries/astal/modules/river.nix index bed2492189fe..ad45a5308f7b 100644 --- a/pkgs/development/libraries/astal/modules/river.nix +++ b/pkgs/development/libraries/astal/modules/river.nix @@ -1,7 +1,16 @@ -{ buildAstalModule, json-glib }: +{ + buildAstalModule, + json-glib, + wl, + wl-vapi-gen, +}: buildAstalModule { name = "river"; - buildInputs = [ json-glib ]; + nativeBuildInputs = [ wl-vapi-gen ]; + buildInputs = [ + json-glib + wl + ]; meta.description = "Astal module for River using IPC"; postUnpack = '' diff --git a/pkgs/development/libraries/astal/modules/wl.nix b/pkgs/development/libraries/astal/modules/wl.nix new file mode 100644 index 000000000000..ec6fb9f53bc5 --- /dev/null +++ b/pkgs/development/libraries/astal/modules/wl.nix @@ -0,0 +1,6 @@ +{ buildAstalModule, wl-vapi-gen }: +buildAstalModule { + name = "wl"; + nativeBuildInputs = [ wl-vapi-gen ]; + meta.description = "Central wayland connection manager"; +} diff --git a/pkgs/development/libraries/astal/source.nix b/pkgs/development/libraries/astal/source.nix index ecd718b786a5..7e51dc43b61e 100644 --- a/pkgs/development/libraries/astal/source.nix +++ b/pkgs/development/libraries/astal/source.nix @@ -7,15 +7,15 @@ let originalDrv = fetchFromGitHub { owner = "Aylur"; repo = "astal"; - rev = "7d1fac8a4b2a14954843a978d2ddde86168c75ef"; - hash = "sha256-Jh4VtPcK2Ov+RTcV9FtyQRsxiJmXFQGfqX6jjM7/mgc="; + rev = "11842ae3045c1367fb3a62a2302dba0d9ccb4a33"; + hash = "sha256-FGZHls4eQJ8y3pvf5h3b83PfXlve3vD/Gj3g1qoAK6o="; }; in originalDrv.overrideAttrs ( final: prev: { name = "${final.pname}-${final.version}"; # fetchFromGitHub already defines name pname = "astal-source"; - version = "0-unstable-2025-11-26"; + version = "0-unstable-2026-06-21"; meta = prev.meta // { description = "Building blocks for creating custom desktop shells (source)";