mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-22 06:35:57 +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; [
|
default = mkJoinedOverlays (with self.overlays; [
|
||||||
xdg-desktop-portal-hyprland
|
xdg-desktop-portal-hyprland
|
||||||
]);
|
]);
|
||||||
xdg-desktop-portal-hyprland = final: prev: {
|
xdg-desktop-portal-hyprland = lib.composeManyExtensions [
|
||||||
xdg-desktop-portal-hyprland = final.callPackage ./default.nix {
|
self.overlays.pipewire
|
||||||
stdenv = prev.gcc13Stdenv;
|
(final: prev: {
|
||||||
inherit (final) hyprland-protocols;
|
xdg-desktop-portal-hyprland = final.callPackage ./default.nix {
|
||||||
inherit (final.qt6) qtbase qttools wrapQtAppsHook qtwayland;
|
stdenv = prev.gcc13Stdenv;
|
||||||
inherit version;
|
inherit (final) hyprland-protocols;
|
||||||
inherit (inputs.hyprlang.packages.${prev.system}) hyprlang;
|
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