mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-12-22 09:49:49 +01:00
nix/overlays: overlay pipewire 1.2.0
This commit is contained in:
parent
bc7131ce67
commit
b9b97e5ba2
1 changed files with 28 additions and 8 deletions
|
@ -19,13 +19,33 @@ in {
|
|||
default = mkJoinedOverlays (with self.overlays; [
|
||||
xdg-desktop-portal-hyprland
|
||||
]);
|
||||
xdg-desktop-portal-hyprland = final: prev: {
|
||||
xdg-desktop-portal-hyprland = final.callPackage ./default.nix {
|
||||
stdenv = prev.gcc13Stdenv;
|
||||
inherit (final) hyprland-protocols;
|
||||
inherit (final.qt6) qtbase qttools wrapQtAppsHook qtwayland;
|
||||
inherit version;
|
||||
inherit (inputs.hyprlang.packages.${prev.system}) hyprlang;
|
||||
};
|
||||
xdg-desktop-portal-hyprland = lib.composeManyExtensions [
|
||||
self.overlays.pipewire
|
||||
(final: prev: {
|
||||
xdg-desktop-portal-hyprland = final.callPackage ./default.nix {
|
||||
stdenv = prev.gcc13Stdenv;
|
||||
inherit (final) hyprland-protocols;
|
||||
inherit (final.qt6) qtbase qttools wrapQtAppsHook qtwayland;
|
||||
inherit version;
|
||||
inherit (inputs.hyprlang.packages.${prev.system}) hyprlang;
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
# TODO: remove when https://nixpk.gs/pr-tracker.html?pr=322933 lands in unstable
|
||||
pipewire = final: prev: {
|
||||
pipewire = prev.pipewire.overrideAttrs (self: super: {
|
||||
version = "1.2.0";
|
||||
|
||||
src = final.fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
owner = "pipewire";
|
||||
repo = "pipewire";
|
||||
rev = self.version;
|
||||
hash = "sha256-hjjiH7+JoyRTcdbPDvkUEpO72b5p8CbTD6Un/vZrHL8=";
|
||||
};
|
||||
|
||||
mesonFlags = super.mesonFlags ++ [(final.lib.mesonEnable "snap" false)];
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue